Skip to content

Commit 7428ca5

Browse files
dotansimhadarkbasic
authored andcommitted
Step 6.2: Bind click event to showMessages
1 parent 2ee3c04 commit 7428ca5

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
@@ -17,7 +17,7 @@
1717
<ion-content class="chats-page-content">
1818
<ion-list class="chats">
1919
<ion-item-sliding *ngFor="let chat of chats | async">
20-
<button ion-item class="chat">
20+
<button ion-item class="chat" (click)="showMessages(chat)">
2121
<img class="chat-picture" [src]="chat.picture">
2222
<div class="chat-info">
2323
<h2 class="chat-title">{{chat.title}}</h2>

0 commit comments

Comments
 (0)