Skip to content

Commit 6b670fb

Browse files
committed
delete and leave chat buttons
1 parent 8906c03 commit 6b670fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

MangoAPI.Client/src/app/components/chats/chats.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ <h5>Chats</h5>
202202
>
203203
<img alt="Leave Chat Icon" class="mr-1" src="./../../../assets/svg/trash.svg"/>
204204

205-
<span class="text-red">Leave Chat</span>
205+
<span *ngIf="activeChat.communityType === 1" class="text-red">Delete chat</span>
206+
<span *ngIf="activeChat.communityType === 2" class="text-red">Leave chat</span>
206207
</div>
207208
</div>
208209
</div>

0 commit comments

Comments
 (0)