[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
This commit is contained in:
k.triantafyllou 2020-04-30 13:50:41 +00:00
parent e52500730b
commit 30bee28f3e
2 changed files with 5 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}