[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:
parent
e52500730b
commit
30bee28f3e
|
@ -104,12 +104,12 @@ export class WellcomeComponent implements OnInit {
|
||||||
this.propertiesService.setEnvProperties(es);
|
this.propertiesService.setEnvProperties(es);
|
||||||
this.properties = this.propertiesService.envSpecific;
|
this.properties = this.propertiesService.envSpecific;
|
||||||
HelperFunctions.scroll();
|
HelperFunctions.scroll();
|
||||||
|
let count = 0;
|
||||||
this.userManagementService.getUserInfo().subscribe(user => {
|
this.userManagementService.getUserInfo().subscribe(user => {
|
||||||
this.user = user;
|
this.user = user;
|
||||||
|
|
||||||
//this._communitiesService.getCommunities(this.properties, this.properties.communityAPI + 'communities').subscribe(
|
|
||||||
this._communitiesService.getCommunitiesState().subscribe(
|
this._communitiesService.getCommunitiesState().subscribe(
|
||||||
communities => {
|
communities => {
|
||||||
|
this.communities = [];
|
||||||
if (!communities || communities.length === 0) {
|
if (!communities || communities.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,8 +57,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.wellcomePage{
|
.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{
|
.sidebar{
|
||||||
background-color: #9C9C9C;
|
background-color: #9C9C9C;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue