Fix var usage.

This commit is contained in:
mike12345567 2023-10-13 11:28:23 +01:00
parent d3366a535b
commit 563baa53c3
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@
}
if (defaultVal) {
await fetch.update({
query: { equal: { _id: defaultValue } },
query: { equal: { _id: defaultVal } },
})
const defaultRow = $fetch.rows?.[0]
if (defaultRow) {