fix: Overview column width and hide archive boards by default

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-11-14 21:19:33 +01:00
parent 5f3620da83
commit 93ea309a79
3 changed files with 7 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
:text="t('deck', 'All boards')"
:boards="noneArchivedBoards"
:open-on-add-boards="true"
:default-open="true"
icon="icon-deck">
<template #icon>
<DeckIcon :size="16" />

View File

@@ -68,6 +68,10 @@ export default {
type: Boolean,
default: false,
},
defaultOpen: {
type: Boolean,
default: false,
},
},
data() {
return {
@@ -90,7 +94,7 @@ export default {
},
},
mounted() {
this.opened = this.boards.length > 0
this.opened = this.defaultOpen
},
}
</script>

View File

@@ -174,7 +174,7 @@ export default {
.dashboard-column {
display: flex;
flex-direction: column;
min-width: $stack-width;
width: $stack-width;
margin-left: $stack-spacing;
margin-right: $stack-spacing;