File tree 2 files changed +6
-1
lines changed
apps/web/src/app/admin-console/organizations/members
libs/common/src/billing/models/response 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,10 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
110
110
protected rowHeight = 69 ;
111
111
protected rowHeightClass = `tw-h-[69px]` ;
112
112
113
+ private organizationUsersCount = 0 ;
114
+
113
115
get occupiedSeatCount ( ) : number {
114
- return this . dataSource . activeUserCount ;
116
+ return this . organizationUsersCount ;
115
117
}
116
118
117
119
constructor (
@@ -218,6 +220,7 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
218
220
) ;
219
221
220
222
this . orgIsOnSecretsManagerStandalone = billingMetadata . isOnSecretsManagerStandalone ;
223
+ this . organizationUsersCount = billingMetadata . organizationOccupiedSeats ;
221
224
222
225
await this . load ( ) ;
223
226
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export class OrganizationBillingMetadataResponse extends BaseResponse {
11
11
invoiceCreatedDate : Date | null ;
12
12
subPeriodEndDate : Date | null ;
13
13
isSubscriptionCanceled : boolean ;
14
+ organizationOccupiedSeats : number ;
14
15
15
16
constructor ( response : any ) {
16
17
super ( response ) ;
@@ -25,6 +26,7 @@ export class OrganizationBillingMetadataResponse extends BaseResponse {
25
26
this . invoiceCreatedDate = this . parseDate ( this . getResponseProperty ( "InvoiceCreatedDate" ) ) ;
26
27
this . subPeriodEndDate = this . parseDate ( this . getResponseProperty ( "SubPeriodEndDate" ) ) ;
27
28
this . isSubscriptionCanceled = this . getResponseProperty ( "IsSubscriptionCanceled" ) ;
29
+ this . organizationOccupiedSeats = this . getResponseProperty ( "OrganizationOccupiedSeats" ) ;
28
30
}
29
31
30
32
private parseDate ( dateString : any ) : Date | null {
You can’t perform that action at this time.
0 commit comments