From 3ef91156743ed251f0d992ac69d5dd3302a96c27 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 10 Oct 2022 12:21:02 +0530 Subject: [PATCH] refactor(gui): avoid locking treeview operation based on view lock Signed-off-by: Pranav C --- packages/nc-gui/components/dashboard/TreeView.vue | 7 ++----- packages/nc-gui/components/tabs/Smartsheet.vue | 6 ------ packages/nc-gui/pages/[projectType]/[projectId]/index.vue | 5 ----- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/packages/nc-gui/components/dashboard/TreeView.vue b/packages/nc-gui/components/dashboard/TreeView.vue index 14c7e8d551..26c9bf60c1 100644 --- a/packages/nc-gui/components/dashboard/TreeView.vue +++ b/packages/nc-gui/components/dashboard/TreeView.vue @@ -5,7 +5,6 @@ import GithubButton from 'vue-github-button' import { Empty, computed, - inject, reactive, ref, resolveComponent, @@ -36,8 +35,6 @@ const { isUIAllowed } = useUIPermission() const [searchActive, toggleSearchActive] = useToggle() -const isLocked = inject('TreeViewIsLockedInj') - let key = $ref(0) const menuRef = $ref() @@ -349,7 +346,7 @@ function openTableCreateDialog() { @@ -383,7 +380,7 @@ function openTableCreateDialog() { -