summaryrefslogtreecommitdiffstats
path: root/portal-FE-common
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
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')
-rw-r--r--portal-FE-common/src/app/pages/get-access/get-access.component.ts10
-rw-r--r--portal-FE-common/src/styles/_fonts.scss24
2 files changed, 5 insertions, 29 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) { }
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");
-}