Progress in showing the communities properly
This commit is contained in:
parent
66ccc04808
commit
ad9a884ae6
|
@ -1 +1 @@
|
|||
Subproject commit 0b85dfba03e2db942dcbf3b68b453c757f70cbf9
|
||||
Subproject commit 1ca8d542967e4a90e550020146b674b703440aaa
|
|
@ -180,9 +180,11 @@ export class SearchCommunitiesComponent {
|
|||
if (result.status == 'hidden') {
|
||||
continue;
|
||||
} else if (result.status == "manager") {
|
||||
|
||||
let mail = (this.user) ? this.user.email : null;
|
||||
if (mail == null) { // no user
|
||||
continue;
|
||||
// continue;
|
||||
ret.push(result); // we want to show the private results as well (disabled though)
|
||||
} else if (Session.isCommunityCurator(this.user) || Session.isPortalAdministrator(this.user)) {
|
||||
ret.push(result);
|
||||
} else if (result.managers.indexOf(mail) != -1) {
|
||||
|
|
|
@ -248,3 +248,8 @@ a:hover .user-circle-background {
|
|||
.contactUsBackground {
|
||||
background: transparent linear-gradient(0deg, #FFFFFF 0%, #DCEDF5 0%, #FAFAFA 100%);
|
||||
}
|
||||
|
||||
.uk-card.disabled {
|
||||
box-shadow: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue