diff --git a/packages/nc-gui-v2/components/smartsheet/Grid.vue b/packages/nc-gui-v2/components/smartsheet/Grid.vue index b9c3994441..e4abfed91d 100644 --- a/packages/nc-gui-v2/components/smartsheet/Grid.vue +++ b/packages/nc-gui-v2/components/smartsheet/Grid.vue @@ -51,7 +51,7 @@ const { loadData, paginationData, formattedData: data, - updateRowProperty, + updateOrSaveRow, changePage, addEmptyRow, selectedRows, @@ -111,7 +111,12 @@ if (meta) useProvideColumnCreateStore(meta) // }) // reset context menu target on hide -watch(contextMenu, () => (contextMenuTarget.value = null)) +watch(contextMenu, () => { + if(!contextMenu.value) { + contextMenuTarget.value = false + } +}) +