fix(nc-gui): check if it is new sidebar

This commit is contained in:
Ramesh Mane
2025-06-07 12:00:24 +00:00
parent 1323c21b86
commit 9055126568

View File

@@ -303,7 +303,7 @@ const onProjectClick = async (base: NcProject, ignoreNavigation?: boolean, toggl
const cmdOrCtrl = isMac() ? metaKey.value : control.value
if (!cmdOrCtrl && activeProjectId.value === base.id) {
if (isNewSidebarEnabled.value && !cmdOrCtrl && activeProjectId.value === base.id) {
showProjectList.value = false
return
}