diff --git a/src/components/InboxScreen.vue b/src/components/InboxScreen.vue index 7579db3..2316f9d 100644 --- a/src/components/InboxScreen.vue +++ b/src/components/InboxScreen.vue @@ -1,7 +1,7 @@ @@ -15,9 +15,9 @@ let response = await fetch('/api/emails'); let {emails} = await response.json(); - let {selectedEmailIds} = useEmailSelection(); + let {emailSelection} = useEmailSelection(); - return {emails, selectedEmailIds} + return {emails, emailSelection} }, components: { MailTable diff --git a/src/components/MailTable.vue b/src/components/MailTable.vue index 55bc196..fe068b0 100644 --- a/src/components/MailTable.vue +++ b/src/components/MailTable.vue @@ -1,11 +1,13 @@