diff --git a/src/renderer/components/WorkspaceTabQueryTableRow.vue b/src/renderer/components/WorkspaceTabQueryTableRow.vue index e201ad96..62b8f7cf 100644 --- a/src/renderer/components/WorkspaceTabQueryTableRow.vue +++ b/src/renderer/components/WorkspaceTabQueryTableRow.vue @@ -43,6 +43,7 @@ autofocus class="editable-field form-input input-sm px-1" @blur="editOFF" + @keyup.delete.stop > diff --git a/src/renderer/stores/application.ts b/src/renderer/stores/application.ts index 5250aba1..14f6658f 100644 --- a/src/renderer/stores/application.ts +++ b/src/renderer/stores/application.ts @@ -55,10 +55,9 @@ export const useApplicationStore = defineStore('application', { }, showScratchpad (tag?: string) { this.isScratchpad = true; - if (tag) { - const { selectedTag } = storeToRefs(useScratchpadStore()); - selectedTag.value = tag; - } + if (!tag) tag = 'all'; + const { selectedTag } = storeToRefs(useScratchpadStore()); + selectedTag.value = tag; }, hideScratchpad () { this.isScratchpad = false;