Browse Source

fix(gui): set proper active view value based on viewTitle

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3830/head
Pranav C 2 years ago
parent
commit
7ebfd7c80c
  1. 4
      packages/nc-gui/components/smartsheet/sidebar/index.vue

4
packages/nc-gui/components/smartsheet/sidebar/index.vue

@ -72,6 +72,10 @@ watch(
})
}
}
} else {
if (nextViews?.length && activeView.value !== nextViews[0]) {
activeView.value = nextViews[0]
}
}
/** if active view is not found, set it to first view */
if (!activeView.value && nextViews.length) {

Loading…
Cancel
Save