|
@ -30,7 +30,7 @@ export class AccountsPageComponent implements OnDestroy, OnInit { |
|
|
public deviceType: string; |
|
|
public deviceType: string; |
|
|
public hasImpersonationId: boolean; |
|
|
public hasImpersonationId: boolean; |
|
|
public hasPermissionToCreateAccount: boolean; |
|
|
public hasPermissionToCreateAccount: boolean; |
|
|
public hasPermissionToDeleteAccount: boolean; |
|
|
public hasPermissionToUpdateAccount: boolean; |
|
|
public routeQueryParams: Subscription; |
|
|
public routeQueryParams: Subscription; |
|
|
public totalBalanceInBaseCurrency = 0; |
|
|
public totalBalanceInBaseCurrency = 0; |
|
|
public totalValueInBaseCurrency = 0; |
|
|
public totalValueInBaseCurrency = 0; |
|
@ -95,9 +95,9 @@ export class AccountsPageComponent implements OnDestroy, OnInit { |
|
|
this.user.permissions, |
|
|
this.user.permissions, |
|
|
permissions.createAccount |
|
|
permissions.createAccount |
|
|
); |
|
|
); |
|
|
this.hasPermissionToDeleteAccount = hasPermission( |
|
|
this.hasPermissionToUpdateAccount = hasPermission( |
|
|
this.user.permissions, |
|
|
this.user.permissions, |
|
|
permissions.deleteAccount |
|
|
permissions.updateAccount |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
this.changeDetectorRef.markForCheck(); |
|
|