Skip to content

Commit

Permalink
Merge pull request #6022 from nextcloud/enhancement/5987-create_subma…
Browse files Browse the repository at this point in the history
…ilbox_in_submailboxes

allow to create submailbox inside of submailboxes
  • Loading branch information
ChristophWurst authored Feb 9, 2022
2 parents 4edf857 + 4704924 commit 3fcf569
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/NavigationMailbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -125,8 +125,7 @@
v-for="subMailbox in subMailboxes"
:key="genId(subMailbox)"
:account="account"
:mailbox="subMailbox"
:top="false" />
:mailbox="subMailbox" />
</AppNavigationItem>
</template>

Expand Down Expand Up @@ -171,10 +170,6 @@ export default {
type: Object,
required: true,
},
top: {
type: Boolean,
default: true,
},
filter: {
type: String,
default: '',
Expand Down

0 comments on commit 3fcf569

Please sign in to comment.