diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-02-09 17:23:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 17:23:02 +0300 |
commit | 3fcf569a824442da582625e406b5341050983ea7 (patch) | |
tree | b44ca7a592bc5d86cb19cf5c7f7f18bbb37cdb22 | |
parent | 4edf8573e70b632152195f26cad2741bbe4cb92c (diff) | |
parent | 47049245d60798bf39ba2ebad810971f190d22db (diff) |
Merge pull request #6022 from nextcloud/enhancement/5987-create_submailbox_in_submailboxes
allow to create submailbox inside of submailboxes
-rw-r--r-- | src/components/NavigationMailbox.vue | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/components/NavigationMailbox.vue b/src/components/NavigationMailbox.vue index 3f88335a3..695277b07 100644 --- a/src/components/NavigationMailbox.vue +++ b/src/components/NavigationMailbox.vue @@ -55,7 +55,7 @@ {{ t('mail', 'Mark all messages of this mailbox as read') }} </ActionButton> <ActionButton - v-if="!editing && top && !account.isUnified && hasDelimiter && mailbox.specialRole !== 'flagged'" + v-if="!editing && !account.isUnified && hasDelimiter && mailbox.specialRole !== 'flagged'" icon="icon-folder" @click="openCreateMailbox"> {{ t('mail', 'Add submailbox') }} @@ -125,8 +125,7 @@ v-for="subMailbox in subMailboxes" :key="genId(subMailbox)" :account="account" - :mailbox="subMailbox" - :top="false" /> + :mailbox="subMailbox" /> </AppNavigationItem> </template> @@ -171,10 +170,6 @@ export default { type: Object, required: true, }, - top: { - type: Boolean, - default: true, - }, filter: { type: String, default: '', |