dont show add/remove seats when sub canceled

This commit is contained in:
Kyle Spearrin 2019-02-16 16:04:35 -05:00
parent 38d8f83587
commit 9114b68659
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit a19a30ffed177e18d6e64801066510bc983a3e8d
Subproject commit c37a52be8568fe749bb6e4c190dc4c736f02fb80

View File

@ -98,7 +98,7 @@
</div>
<h2 class="spaced-header">{{'userSeats' | i18n}}</h2>
<p>{{'subscriptionUserSeats' | i18n : billing.seats}}</p>
<ng-container *ngIf="subscription && canAdjustSeats">
<ng-container *ngIf="subscription && canAdjustSeats && !subscription.cancelled && !subscriptionMarkedForCancel && paymentSource">
<div class="mt-3">
<div class="d-flex" *ngIf="!showAdjustSeats">
<button type="button" class="btn btn-outline-secondary" (click)="adjustSeats(true)">