diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 8fae21c..c45b726 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -79,10 +79,12 @@ export class AppComponent {
this._communitiesService.updateCommunities(this.properties, this.properties.communitiesAPI);
if(this.properties.environment == "development") {
this.route.queryParams.subscribe(data => {
+ this.showMenu = false;
communityId = data['communityId'];
this.buildMenu(communityId);
});
} else {
+ this.showMenu = false;
communityId = ConnectHelper.getCommunityFromDomain(this.properties.domain);
this.buildMenu(communityId);
}
@@ -103,9 +105,11 @@ export class AppComponent {
public buildMenu(communityId: string) {
var community = null;
this.community = null;
- this.showMenu = false;
this._communitiesService.getCommunitiesState().subscribe (
communities => {
+ if(communities.length === 0 && communityId !== null && communityId !== '') {
+ return;
+ }
for(var com of communities){
if( (communityId && communityId!="" && com.communityId == communityId
&& community !=null) ||
diff --git a/src/assets/connect-custom.css b/src/assets/connect-custom.css
index 078de6f..b4e3300 100644
--- a/src/assets/connect-custom.css
+++ b/src/assets/connect-custom.css
@@ -89,7 +89,6 @@
}
.connectInfoCard {
- background: #ECF3FD;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.24);
}
diff --git a/src/assets/env-properties.json b/src/assets/env-properties.json
index 66ffe94..514a59f 100644
--- a/src/assets/env-properties.json
+++ b/src/assets/env-properties.json
@@ -116,5 +116,5 @@
"reCaptchaSiteKey": "6LcVtFIUAAAAAB2ac6xYivHxYXKoUvYRPi-6_rLu",
- "admins" : ["kostis30fylloy@gmail.com","argirok@di.uoa.gr"]
+ "admins" : ["kostis30fylloy@gmail.com"]
}
diff --git a/src/index.html b/src/index.html
index da193b2..926290f 100644
--- a/src/index.html
+++ b/src/index.html
@@ -72,7 +72,7 @@ $(document).ready(function(){
-
+