Add check for communityId = '' in community.component.ts and hide subscribe in community.component.html
Add check for communityId = '' in community.component.ts and hide subscribe in community.component.html