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')" :text="t('deck', 'All boards')"
:boards="noneArchivedBoards" :boards="noneArchivedBoards"
:open-on-add-boards="true" :open-on-add-boards="true"
:default-open="true"
icon="icon-deck"> icon="icon-deck">
<template #icon> <template #icon>
<DeckIcon :size="16" /> <DeckIcon :size="16" />

View File

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

View File

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