[develop | DONE | FIX] undo setting this.properties.adminToolsCommunity in app component - fixes issue with wrong community in the server
This commit is contained in:
parent
1aa3b54a1a
commit
6b634f93e0
|
@ -308,13 +308,11 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
initAdminToolCommunity(communityId) {
|
||||
if (communityId) {
|
||||
this.properties.adminToolsPortalType = "community";
|
||||
this.properties.adminToolsCommunity = communityId;
|
||||
if (this.document) {
|
||||
this.initLayout(communityId);
|
||||
}
|
||||
} else {
|
||||
this.properties.adminToolsPortalType = "connect";
|
||||
this.properties.adminToolsCommunity = "connect";
|
||||
if (this.document) {
|
||||
this.initLayout(this.communityId?this.communityId:'connect');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue