From 2c95b934566134feb66a96f2797b13c998fc4966 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 21 Jun 2023 18:01:32 +0530 Subject: [PATCH] fix: remove duplicate code Signed-off-by: Pranav C --- .../nc-gui/components/virtual-cell/Links.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/nc-gui/components/virtual-cell/Links.vue b/packages/nc-gui/components/virtual-cell/Links.vue index 348d02ba4a..2cb61a6236 100644 --- a/packages/nc-gui/components/virtual-cell/Links.vue +++ b/packages/nc-gui/components/virtual-cell/Links.vue @@ -3,7 +3,16 @@ import { computed } from '@vue/reactivity' import type { ColumnType } from 'nocodb-sdk' import { ref } from 'vue' import type { Ref } from 'vue' -import { ActiveCellInj,IsUnderLookupInj, CellValueInj, ColumnInj, EditModeInj, MetaInj, inject, useSelectedCellKeyupListener } from '#imports' +import { + ActiveCellInj, + CellValueInj, + ColumnInj, + EditModeInj, + IsUnderLookupInj, + MetaInj, + inject, + useSelectedCellKeyupListener, +} from '#imports' const value = inject(CellValueInj, ref(0)) @@ -29,9 +38,6 @@ const active = inject(ActiveCellInj, ref(false)) const editable = inject(EditModeInj, ref(false)) - -const isUnderLookup = inject(IsUnderLookupInj, ref(false)) - const listItemsDlg = ref(false) const childListDlg = ref(false) @@ -99,8 +105,8 @@ const localCellValue = computed(() => {