From 83d1db9aca35badafe92bf4187dbf84118728c71 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 30 Sep 2019 10:53:03 +0000 Subject: [PATCH] [Trunk | Library]: Bug fixes 1. login/userMini.component.ts: Check if 'location' is undefined. 2. sharedComponents/bottom.component.html: Social networks should be always in one row. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57199 d315682c-612b-4755-9ff5-7f18f6832af3 --- login/userMini.component.ts | 2 +- sharedComponents/bottom.component.html | 88 +++++++++++++------------- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/login/userMini.component.ts b/login/userMini.component.ts index 234b131f..7748d4fc 100644 --- a/login/userMini.component.ts +++ b/login/userMini.component.ts @@ -105,7 +105,7 @@ export class UserMiniComponent { } initialize(){ - if(!this.redirectUrl && location) { + if(!this.redirectUrl && typeof location !== 'undefined') { this.redirectUrl = location.pathname; } if(this.user){ diff --git a/sharedComponents/bottom.component.html b/sharedComponents/bottom.component.html index 56d9875c..a7add906 100644 --- a/sharedComponents/bottom.component.html +++ b/sharedComponents/bottom.component.html @@ -36,50 +36,6 @@ -
- -
@@ -133,6 +89,50 @@
+
+ +