diff --git a/apps/desktop/src/components/editor/QueryEditor.vue b/apps/desktop/src/components/editor/QueryEditor.vue index b73f86c248..30acdb36a8 100644 --- a/apps/desktop/src/components/editor/QueryEditor.vue +++ b/apps/desktop/src/components/editor/QueryEditor.vue @@ -1853,6 +1853,10 @@ const contextMenuItems = computed(() => { ]; }); +function currentContextMenuItems(): ContextMenuItem[] { + return contextMenuItems.value; +} + function handleSqlIntentionActions(currentView: EditorViewType): boolean { if (props.readOnly) return false; try { @@ -5838,7 +5842,7 @@ defineExpose({