Browse Source

Merge pull request #3343 from nocodb/fix/route-update

fix: route update on rename view
pull/3356/head
Raju Udava 2 years ago committed by GitHub
parent
commit
141c9925e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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