diff --git a/src/renderer/components/QueryEditor.vue b/src/renderer/components/QueryEditor.vue index 4e1265dc..5db71321 100644 --- a/src/renderer/components/QueryEditor.vue +++ b/src/renderer/components/QueryEditor.vue @@ -69,6 +69,7 @@ const tables = computed(() => { }); const tablesInQuery = computed(() => { + if (!props.modelValue) return []; const words = props.modelValue .replaceAll(/[.'"`]/g, ' ') .split(' ')