mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-18 20:50:48 +01:00
fix: exception on QueryEditor with null modelValue
This commit is contained in:
parent
b4d14d98db
commit
9bc9adb7cf
@ -69,6 +69,7 @@ const tables = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const tablesInQuery = computed(() => {
|
const tablesInQuery = computed(() => {
|
||||||
|
if (!props.modelValue) return [];
|
||||||
const words = props.modelValue
|
const words = props.modelValue
|
||||||
.replaceAll(/[.'"`]/g, ' ')
|
.replaceAll(/[.'"`]/g, ' ')
|
||||||
.split(' ')
|
.split(' ')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user