File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
main/components/onboarding-tenant-list Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {HttpClient} from '@angular/common/http';
27
27
} )
28
28
export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
29
29
gridApi : GridApi ;
30
- params : AnyObject ;
30
+ params : TenantDetails ;
31
31
gridOptions : GridOptions ;
32
32
limit = 10 ;
33
33
defaultColDef : ColDef = {
@@ -191,9 +191,10 @@ export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
191
191
name : item . name ,
192
192
tenant_name : fullTenantName ,
193
193
email : item . email ,
194
+ key : item . key ,
194
195
address : addressString ,
195
196
planName : item . subscription ?. plan . name ,
196
- status : TenantStatus [ item . subscription ?. status ] ,
197
+ status : TenantStatus [ item . status ] ,
197
198
startDate : item . subscription ?. startDate
198
199
? new Date ( item . subscription . startDate ) . toLocaleDateString ( )
199
200
: 'N/A' ,
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ export class TenantDetails {
4
4
firstName : string ;
5
5
lastName : string ;
6
6
email : string ;
7
+ status : number ;
8
+ key : string ;
7
9
address : {
8
10
city : string ;
9
11
state : string ;
@@ -17,7 +19,7 @@ export class TenantDetails {
17
19
price : number ;
18
20
tier : string ;
19
21
} ;
20
- status : number ;
22
+
21
23
startDate : Date ;
22
24
endDate : Date ;
23
25
} ;
@@ -28,6 +30,8 @@ export class TenantDetails {
28
30
firstName : string ,
29
31
lastName : string ,
30
32
email : string ,
33
+ key : string ,
34
+ status : number ,
31
35
city : string ,
32
36
state : string ,
33
37
zipCode : string ,
@@ -36,7 +40,7 @@ export class TenantDetails {
36
40
description : string ,
37
41
price : number ,
38
42
tier : string ,
39
- status : number ,
43
+
40
44
startDate : Date ,
41
45
endDate : Date ,
42
46
) {
@@ -45,14 +49,15 @@ export class TenantDetails {
45
49
this . firstName = firstName ;
46
50
this . lastName = lastName ;
47
51
this . email = email ;
52
+ this . key = key ;
53
+ this . status = status ;
48
54
this . address = {
49
55
city : city ,
50
56
state : state ,
51
57
zip : zipCode ,
52
58
country : country ,
53
59
} ;
54
60
this . subscription = {
55
- status : status ,
56
61
startDate : startDate ,
57
62
endDate : endDate ,
58
63
plan : {
You can’t perform that action at this time.
0 commit comments