mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-20 14:25:14 +00:00
Mark read and unread
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<tr v-for="email in emails" :key="email.id" :class="[email.read ? 'read' : '']">
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
:checked="emailSelection.ids.has(email)"
|
||||
:checked="emailSelection.emails.has(email)"
|
||||
@click="emailSelection.toggle(email)" />
|
||||
</td>
|
||||
<td>{{email.from}}</td>
|
||||
|
||||
Reference in New Issue
Block a user