mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 14:56:51 +00:00
fix(nc-gui): just toggle sidebar baselist if clicked base is already active
This commit is contained in:
@@ -303,6 +303,11 @@ const onProjectClick = async (base: NcProject, ignoreNavigation?: boolean, toggl
|
||||
|
||||
const cmdOrCtrl = isMac() ? metaKey.value : control.value
|
||||
|
||||
if (!cmdOrCtrl && activeProjectId.value === base.id) {
|
||||
showProjectList.value = false
|
||||
return
|
||||
}
|
||||
|
||||
if (!toggleIsExpanded && !cmdOrCtrl) $e('c:base:open')
|
||||
|
||||
ignoreNavigation = isMobileMode.value || ignoreNavigation
|
||||
|
||||
Reference in New Issue
Block a user