[develop | DONE | FIX] undo setting this.properties.adminToolsCommunity in app component - fixes issue with wrong community in the server

This commit is contained in:
argirok 2024-03-22 11:27:49 +02:00
parent 1aa3b54a1a
commit 6b634f93e0
1 changed files with 0 additions and 2 deletions

View File

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