summaryrefslogtreecommitdiffstats
path: root/portal-FE-common/src/app/pages/get-access/get-access.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'portal-FE-common/src/app/pages/get-access/get-access.component.ts')
-rw-r--r--portal-FE-common/src/app/pages/get-access/get-access.component.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/portal-FE-common/src/app/pages/get-access/get-access.component.ts b/portal-FE-common/src/app/pages/get-access/get-access.component.ts
index 5edd17b9..2dcb0f8b 100644
--- a/portal-FE-common/src/app/pages/get-access/get-access.component.ts
+++ b/portal-FE-common/src/app/pages/get-access/get-access.component.ts
@@ -47,16 +47,15 @@ import { environment } from '../../../environments/environment';
styleUrls: ['./get-access.component.scss']
})
export class GetAccessComponent implements OnInit {
- api = environment.api;
isLoadingTable: boolean;
appTable: any[];
displayedColumns: string[] = ['function', 'applicationName', 'roleName', 'currentRole', 'requestStatus'];
getAccessDataSource = new MatTableDataSource(this.appTable);
@ViewChild(MatPaginator) paginator: MatPaginator;
showSpinner: boolean;
- getAccessUrl = this.api.getAccessUrl;
- getAccessName = this.api.getAccessName;
- getAccessInfo = this.api.getAccessInfo;
+ getAccessUrl = environment.getAccessUrl;
+ getAccessName = environment.getAccessName;
+ getAccessInfo = environment.getAccessInfo;
constructor(private getAccessService: GetAccessService) { }