Browse Source

fix: route update on rename view

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3343/head
Raju Udava 2 years ago
parent
commit
396633bfc4
  1. 6
      packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue

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

@ -158,6 +158,12 @@ async function onRename(view: ViewType) {
order: String(view.order),
})
await router.replace({
params: {
viewTitle: view.title,
},
})
message.success('View renamed successfully')
} catch (e: any) {
message.error(await extractSdkResponseErrorMsg(e))

Loading…
Cancel
Save