diff --git a/src/components/NavigationMailbox.vue b/src/components/NavigationMailbox.vue
index 91d4e84ae6..299c205af8 100644
--- a/src/components/NavigationMailbox.vue
+++ b/src/components/NavigationMailbox.vue
@@ -44,7 +44,7 @@
@@ -53,7 +53,7 @@
@@ -75,7 +75,7 @@
{{ t('mail', 'Saving') }}
@@ -99,7 +99,7 @@
{{ t('mail', 'Saving') }}
@@ -109,7 +109,7 @@
{{ t('mail', 'Move folder') }}
@@ -118,7 +118,7 @@
{{ t('mail', 'Repair folder') }}
@@ -145,7 +145,7 @@
@@ -155,7 +155,7 @@
@@ -291,13 +291,17 @@ export default {
},
notInbox() {
- return this.mailbox.name.toLowerCase() !== 'inbox'
+ return this.mailbox.specialRole !== 'inbox'
},
notVirtual() {
return !this.account.isUnified && this.mailbox.specialRole !== 'flagged' && !this.filter
},
+ notVirtualOrSpecial() {
+ return this.notVirtual && !this.mailbox.specialRole
+ },
+
title() {
if (this.filter === 'starred') {
// Little hack to trick the translation logic into a different path