Skip to content
Snippets Groups Projects
Unverified Commit 6d0abaa9 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #2637 from nextcloud/fix/remove_subfolder_favorite

Remove subfolders from Favorites
parents 762d2ec5 948c3030
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
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