X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fpages%2Fget-access%2Fget-access.component.ts;h=5edd17b9a4351aabb291b2a233b76bc5e59ca6f9;hb=c47ea589f9d89d6b57aae48149a5a67b5bf6c953;hp=a7454894c3bc3a3b30eeac10c6da2e0d0d35272c;hpb=be539894f21c8dea9e82fbfbeb3efa3d6b315e05;p=portal.git 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) { }