summaryrefslogtreecommitdiffstats
path: root/portal-FE-common/src/app/pages/get-access/get-access.component.ts
diff options
context:
space:
mode:
authorSudarshan Kumar <sudarshan.kumar@att.com>2020-02-06 15:48:09 +0530
committerSudarshan Kumar <sudarshan.kumar@att.com>2020-02-06 16:02:18 +0000
commitc47ea589f9d89d6b57aae48149a5a67b5bf6c953 (patch)
treef4b259e9513f7491387818e68d628915c178254a /portal-FE-common/src/app/pages/get-access/get-access.component.ts
parentbe539894f21c8dea9e82fbfbeb3efa3d6b315e05 (diff)
Fixed Portal-FE-os build issues
Fixed Portal-FE-os build issues Issue-ID: PORTAL-795 Change-Id: I7eb5998ab6d4185338955b02fe478c0bbc2f419e Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
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.ts10
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) { }