diff --git a/src/components/NavigationFolder.vue b/src/components/NavigationFolder.vue index bbf0fbd1d043048eb5ef73d7ede037e03c5ece86..07e581f2614d04c4b7600323c456783247f4de0a 100644 --- a/src/components/NavigationFolder.vue +++ b/src/components/NavigationFolder.vue @@ -42,7 +42,7 @@ <!-- TODO: make *mark as read* available for all folders once there is more than one action --> <ActionButton - v-if="!account.isUnified" + v-if="!account.isUnified && folder.specialRole !== 'flagged'" icon="icon-checkmark" :title="t('mail', 'Mark all as read')" :disabled="loadingMarkAsRead" @@ -51,7 +51,11 @@ {{ t('mail', 'Mark all messages of this folder as read') }} </ActionButton> - <ActionInput v-if="!account.isUnified" icon="icon-add" @submit="createFolder"> + <ActionInput + v-if="!account.isUnified && folder.specialRole !== 'flagged'" + icon="icon-add" + @submit="createFolder" + > {{ t('mail', 'Add subfolder') }} </ActionInput> </template>