diff options
Diffstat (limited to 'portal-FE-common/src/app')
-rw-r--r-- | portal-FE-common/src/app/pages/get-access/get-access.component.ts | 10 |
1 files changed, 5 insertions, 5 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 a7454894..5edd17b9 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 @@ -31,7 +31,7 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * ============LICENSE_END============================================ + * ============LICENSE_END=========================================== * * */ @@ -47,16 +47,16 @@ 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 = environment.getAccessUrl; - getAccessName = environment.getAccessName; - getAccessInfo = environment.getAccessInfo; + getAccessUrl = this.api.getAccessUrl; + getAccessName = this.api.getAccessName; + getAccessInfo = this.api.getAccessInfo; constructor(private getAccessService: GetAccessService) { } |