From 30bee28f3e4ec953b1a2711ee61e4553e1f5de2e Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 30 Apr 2020 13:50:41 +0000 Subject: [PATCH] [Admin | Trunk]: Fix a bug with communities number on wellcome page git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@58584 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/pages/wellcome/wellcome.component.ts | 4 ++-- src/assets/css/connect-custom.css | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/pages/wellcome/wellcome.component.ts b/src/app/pages/wellcome/wellcome.component.ts index 0034fa4..ba2bdcc 100644 --- a/src/app/pages/wellcome/wellcome.component.ts +++ b/src/app/pages/wellcome/wellcome.component.ts @@ -104,12 +104,12 @@ export class WellcomeComponent implements OnInit { this.propertiesService.setEnvProperties(es); this.properties = this.propertiesService.envSpecific; HelperFunctions.scroll(); + let count = 0; this.userManagementService.getUserInfo().subscribe(user => { this.user = user; - - //this._communitiesService.getCommunities(this.properties, this.properties.communityAPI + 'communities').subscribe( this._communitiesService.getCommunitiesState().subscribe( communities => { + this.communities = []; if (!communities || communities.length === 0) { return; } diff --git a/src/assets/css/connect-custom.css b/src/assets/css/connect-custom.css index 5b4c98f..75e39d4 100644 --- a/src/assets/css/connect-custom.css +++ b/src/assets/css/connect-custom.css @@ -57,8 +57,10 @@ } .wellcomePage{ - background-image: url("../imgs/wellcome.png"); background-color: rgb(255, 255, 255); box-sizing: border-box; min-height: calc(100vh - 412.767px); + background: transparent linear-gradient(0deg, #FAFAFA 0%, #E2EEFA 100%) 0 0 no-repeat padding-box; + min-height: calc(100vh - 412.767px); } + .sidebar{ background-color: #9C9C9C; }