Skip to content

Commit 9acc010

Browse files
dotansimhadarkbasic
authored andcommitted
Step 2.17: Add remove chat event
1 parent 5b925fc commit 9acc010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/chats/chats.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 class="chat-title">{{chat.title}}</h2>
2929
</div>
3030
</button>
3131
<ion-item-options class="chat-options">
32-
<button ion-button color="danger" class="option option-remove">Remove</button>
32+
<button ion-button color="danger" class="option option-remove" (click)="removeChat(chat)">Remove</button>
3333
</ion-item-options>
3434
</ion-item-sliding>
3535
</ion-list>

0 commit comments

Comments
 (0)