fix: Overview column width and hide archive boards by default
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -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" />
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user