diff --git a/src/app/communities/communities.component.ts b/src/app/communities/communities.component.ts index b86614a..dbd6cae 100644 --- a/src/app/communities/communities.component.ts +++ b/src/app/communities/communities.component.ts @@ -150,8 +150,10 @@ export class CommunitiesComponent { isSubscriber = res; if(isSubscriber) { community.isSubscribed = true; - if(!isManager) { + if(isManager) { this.subscriberOfCommunities.push(community); + } else { + this.subscriberOfCommunities.unshift(community); } }