Skip to content

Commit

Permalink
fix: update menu collapsed state on column count
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Nov 1, 2022
1 parent 25bcaf4 commit f14173f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ export default class Dashboard extends Mixins(StateMixin) {
@Watch('columnCount')
onColumnCount (value: number) {
this.$store.commit('config/setContainerColumnCount', value)
this.updateMenuCollapsed()
}
get columnSpan () {
Expand Down Expand Up @@ -152,8 +154,6 @@ export default class Dashboard extends Mixins(StateMixin) {
}
this.containers = containers.slice(0, 4)
this.updateMenuCollapsed()
}
get dragOptions () {
Expand Down

0 comments on commit f14173f

Please sign in to comment.