mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 16:27:03 +00:00
fix: some review changes
This commit is contained in:
@@ -121,7 +121,8 @@ const activeTab = computed({
|
||||
loadCollaborators({}, activeWorkspace.value?.id)
|
||||
}
|
||||
|
||||
router.push({ name: wsTabToRouteName[tabKey] || 'index-typeOrId' })
|
||||
const typeOrId = route.value.params.typeOrId || activeWorkspace.value?.id || 'nc'
|
||||
router.push({ name: wsTabToRouteName[tabKey] || 'index-typeOrId', params: { typeOrId } })
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user