diff --git a/packages/nc-gui/components/smartsheet/header/Cell.vue b/packages/nc-gui/components/smartsheet/header/Cell.vue index f07c76fd18..2152751ec7 100644 --- a/packages/nc-gui/components/smartsheet/header/Cell.vue +++ b/packages/nc-gui/components/smartsheet/header/Cell.vue @@ -52,7 +52,7 @@ const openHeaderMenu = () => { {
-
+
{ provide(MetaInj, lookupTableMeta) +provide(IsUnderLookupInj, ref(true)) + provide(CellUrlDisableOverlayInj, ref(true)) const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning, activateShowEditNonEditableFieldWarning } = diff --git a/packages/nc-gui/components/virtual-cell/ManyToMany.vue b/packages/nc-gui/components/virtual-cell/ManyToMany.vue index b1ae3d9f76..4af1ab7005 100644 --- a/packages/nc-gui/components/virtual-cell/ManyToMany.vue +++ b/packages/nc-gui/components/virtual-cell/ManyToMany.vue @@ -7,6 +7,7 @@ import { ColumnInj, IsFormInj, IsLockedInj, + IsUnderLookupInj, ReadonlyInj, ReloadRowDataHookInj, RowInj, @@ -34,6 +35,8 @@ const readOnly = inject(ReadonlyInj, ref(false)) const isLocked = inject(IsLockedInj) +const isUnderLookup = inject(IsUnderLookupInj, ref(false)) + const listItemsDlg = ref(false) const childListDlg = ref(false) @@ -114,7 +117,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven
-
+
= Symbol('toggle-dialog-inj export const CellClickHookInj: InjectionKey | undefined> = Symbol('cell-click-injection') export const SaveRowInj: InjectionKey<(() => void) | undefined> = Symbol('save-row-injection') export const CurrentCellInj: InjectionKey> = Symbol('current-cell-injection') +export const IsUnderLookupInj: InjectionKey> = Symbol('is-under-lookup-injection')