Skip to content

Commit

Permalink
Checking for manage-post permissions before showing sms-conversation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Angamanga authored and tuxpiper committed Jan 29, 2024
1 parent 561fbf8 commit 7f3042a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@ <h3>{{ field.label }}</h3>
<app-post-metadata *ngIf="post.id" [post]="post"></app-post-metadata>
</ng-container>
</div>
<app-post-conversation *ngIf="post && post.source === 'SMS'" [post]="post"></app-post-conversation>
<ng-container *ngIf="isManagePosts">
<app-post-conversation
*ngIf="post && post.source === 'SMS'"
[post]="post"
></app-post-conversation>
</ng-container>
<ng-template #spinner>
<app-spinner *ngIf="isPostLoading" class="spinner"></app-spinner>
<p
Expand Down

0 comments on commit 7f3042a

Please sign in to comment.