Browse Source

fix(gui-v2): return to default view once the view is deleted

pull/3078/head
Wing-Kam Wong 2 years ago
parent
commit
c7ece40d97
  1. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue

2
packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue

@ -179,6 +179,8 @@ function onDeleted() {
emits('deleted')
toDelete = undefined
deleteModalVisible = false
// return to the default view
activeView.value = views.value[0]
}
</script>

Loading…
Cancel
Save