From 9bbf8051166f523059f4a8450dd8c6e5b994129d Mon Sep 17 00:00:00 2001 From: GretaD <gretadoci@gmail.com> Date: Fri, 24 Apr 2020 14:41:02 +0200 Subject: [PATCH] Add priority section Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> --- src/components/MailboxMessage.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/MailboxMessage.vue b/src/components/MailboxMessage.vue index 0efb2ac33..7ec804138 100644 --- a/src/components/MailboxMessage.vue +++ b/src/components/MailboxMessage.vue @@ -19,15 +19,22 @@ :bus="bus" /> <template v-else> - <!--<SectionTitle class="app-content-list-item" :name="t('mail', 'Priority')" />--> - <!--<Mailbox :account="unifiedAccount" :folder="unifiedInbox" :search-query="searchQuery + ' is:starred'" :bus="bus" />--> + <SectionTitle class="app-content-list-item important" :name="t('mail', 'Priority')" /> + <Mailbox + class="nameimportant" + :account="unifiedAccount" + :folder="unifiedInbox" + :paginate="false" + :search-query="appendToSearch('is:important not:starred')" + :bus="bus" + /> <SectionTitle class="app-content-list-item starred" :name="t('mail', 'Favorites')" /> <Mailbox class="namestarred" :account="unifiedAccount" :folder="unifiedInbox" :paginate="false" - :search-query="appendToSearch('is:starred')" + :search-query="appendToSearch('is:starred not:important')" :bus="bus" /> <SectionTitle class="app-content-list-item other" :name="t('mail', 'Other')" /> @@ -36,7 +43,7 @@ :account="unifiedAccount" :folder="unifiedInbox" :open-first="false" - :search-query="appendToSearch('not:starred')" + :search-query="appendToSearch('not:starred not:important')" :bus="bus" /> </template> -- GitLab