From c47ea589f9d89d6b57aae48149a5a67b5bf6c953 Mon Sep 17 00:00:00 2001 From: Sudarshan Kumar Date: Thu, 6 Feb 2020 15:48:09 +0530 Subject: Fixed Portal-FE-os build issues Fixed Portal-FE-os build issues Issue-ID: PORTAL-795 Change-Id: I7eb5998ab6d4185338955b02fe478c0bbc2f419e Signed-off-by: Sudarshan Kumar --- .../app/pages/get-access/get-access.component.ts | 10 ++++----- portal-FE-common/src/styles/_fonts.scss | 24 ---------------------- 2 files changed, 5 insertions(+), 29 deletions(-) (limited to 'portal-FE-common/src') 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) { } diff --git a/portal-FE-common/src/styles/_fonts.scss b/portal-FE-common/src/styles/_fonts.scss index 77118314..5e6626ee 100644 --- a/portal-FE-common/src/styles/_fonts.scss +++ b/portal-FE-common/src/styles/_fonts.scss @@ -35,27 +35,3 @@ * * */ -@font-face { - font-family: Omnes-ECOMP-W02, Arial; - src: local("Omnes-ECOMP-W02"), url(../assets/fonts/omnesatt2-regular-webfont.ttf) format("truetype"), - url(../assets/fonts/omnesatt2-regular-webfont.woff) format("woff"), - url(../assets/fonts/omnesatt2-regular-webfont.eot) format("eot"); -} - -@font-face { - font-family: Omnes-ECOMP-W02-Medium, Arial; - src: url(../assets/fonts/omnesatt2-medium-webfont.ttf) format("truetype"); -} - -@font-face { - font-family: Omnes-ECOMP-W02-Light, Arial; - src: url(../assets/fonts/omnesatt2-light-webfont.ttf) format("truetype"); -} -@font-face { - font-family: Omnes-ECOMP-W02-Italic, Arial; - src: url(../assets/fonts/omnesatt2-lightitalic-webfont.ttf) format("truetype"); -} -@font-face { - font-family: Omnes-ECOMP-W02-Bold, Arial; - src: url(../assets/fonts/omnesatt2-bold-webfont.ttf) format("truetype"); -} -- cgit 1.2.3-korg