fix: some review changes

This commit is contained in:
Ramesh Mane
2026-03-28 07:09:11 +00:00
parent 438d13e4c5
commit 704cce9987
9 changed files with 67 additions and 68 deletions

View File

@@ -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>