From bf1aeb4bd61c50fa0123cf0677ef3ac6dcf71e38 Mon Sep 17 00:00:00 2001 From: Jeffrey Biles Date: Wed, 18 Mar 2020 01:25:53 -0700 Subject: [PATCH] Archive filtering and bulk action button --- mirage/index.js | 3 +++ src/components/BulkActionBar.vue | 3 +++ src/components/InboxScreen.vue | 2 +- src/composition/useEmailSelection.js | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mirage/index.js b/mirage/index.js index 6eeaec8..40aad8e 100644 --- a/mirage/index.js +++ b/mirage/index.js @@ -21,6 +21,9 @@ new Server({ }, sentDate(){ return faker.date.recent(20) + }, + archived(i){ + return i % 2 == 0; } }) }, diff --git a/src/components/BulkActionBar.vue b/src/components/BulkActionBar.vue index 31556fb..8f9eac7 100644 --- a/src/components/BulkActionBar.vue +++ b/src/components/BulkActionBar.vue @@ -9,6 +9,9 @@ + diff --git a/src/components/InboxScreen.vue b/src/components/InboxScreen.vue index c953974..b9d43df 100644 --- a/src/components/InboxScreen.vue +++ b/src/components/InboxScreen.vue @@ -3,7 +3,7 @@ - +