Change style of private community when user is not logged in.
This commit is contained in:
parent
c79a65c0e2
commit
8da7eafe81
|
@ -315,7 +315,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
} else {
|
} else {
|
||||||
this.properties.adminToolsPortalType = "connect";
|
this.properties.adminToolsPortalType = "connect";
|
||||||
if (this.document) {
|
if (this.document) {
|
||||||
this.initLayout('connect');
|
this.initLayout(this.communityId?this.communityId:'connect');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.configurationService.initPortal(this.properties, (communityId) ? communityId : this.properties.adminToolsPortalType);
|
this.configurationService.initPortal(this.properties, (communityId) ? communityId : this.properties.adminToolsPortalType);
|
||||||
|
@ -455,7 +455,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
this.showMenu = true;
|
this.showMenu = true;
|
||||||
} else {
|
} else {
|
||||||
this.communityId = null;
|
this.communityId = (this.community && ConnectHelper.isPrivate(this.community, this.user))?this.community.communityId:null;
|
||||||
this.configurationService.initPortal(this.properties, "connect");
|
this.configurationService.initPortal(this.properties, "connect");
|
||||||
this.buildConnectMenu(true);
|
this.buildConnectMenu(true);
|
||||||
if (this.community && this.community.status == "manager") {
|
if (this.community && this.community.status == "manager") {
|
||||||
|
|
Loading…
Reference in New Issue