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';
2727} )
2828export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
2929 gridApi : GridApi ;
30- params : AnyObject ;
30+ params : TenantDetails ;
3131 gridOptions : GridOptions ;
3232 limit = 10 ;
3333 defaultColDef : ColDef = {
@@ -191,9 +191,10 @@ export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
191191 name : item . name ,
192192 tenant_name : fullTenantName ,
193193 email : item . email ,
194+ key : item . key ,
194195 address : addressString ,
195196 planName : item . subscription ?. plan . name ,
196- status : TenantStatus [ item . subscription ?. status ] ,
197+ status : TenantStatus [ item . status ] ,
197198 startDate : item . subscription ?. startDate
198199 ? new Date ( item . subscription . startDate ) . toLocaleDateString ( )
199200 : 'N/A' ,
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ export class TenantDetails {
44 firstName : string ;
55 lastName : string ;
66 email : string ;
7+ status : number ;
8+ key : string ;
79 address : {
810 city : string ;
911 state : string ;
@@ -17,7 +19,7 @@ export class TenantDetails {
1719 price : number ;
1820 tier : string ;
1921 } ;
20- status : number ;
22+
2123 startDate : Date ;
2224 endDate : Date ;
2325 } ;
@@ -28,6 +30,8 @@ export class TenantDetails {
2830 firstName : string ,
2931 lastName : string ,
3032 email : string ,
33+ key : string ,
34+ status : number ,
3135 city : string ,
3236 state : string ,
3337 zipCode : string ,
@@ -36,7 +40,7 @@ export class TenantDetails {
3640 description : string ,
3741 price : number ,
3842 tier : string ,
39- status : number ,
43+
4044 startDate : Date ,
4145 endDate : Date ,
4246 ) {
@@ -45,14 +49,15 @@ export class TenantDetails {
4549 this . firstName = firstName ;
4650 this . lastName = lastName ;
4751 this . email = email ;
52+ this . key = key ;
53+ this . status = status ;
4854 this . address = {
4955 city : city ,
5056 state : state ,
5157 zip : zipCode ,
5258 country : country ,
5359 } ;
5460 this . subscription = {
55- status : status ,
5661 startDate : startDate ,
5762 endDate : endDate ,
5863 plan : {
You can’t perform that action at this time.
0 commit comments