Skip to content
Snippets Groups Projects
Unverified Commit 9bbf8051 authored by GretaD's avatar GretaD Committed by Christoph Wurst
Browse files

Add priority section

parent 8f208328
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment