Skip to content

Commit

Permalink
NavigationMailbox.vue has been changed
Browse files Browse the repository at this point in the history
"top" prop has been removed. it is possible to create submailbox inside of submailboxes.

Signed-off-by: julia.kirschenheuter <[email protected]>
  • Loading branch information
JuliaKirschenheuter committed Feb 9, 2022
1 parent d74882d commit 4704924
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 4704924

Please sign in to comment.