1
0
Fork 0
mirror of synced 2024-07-28 09:35:49 +12:00

Fix var usage.

This commit is contained in:
mike12345567 2023-10-13 11:28:23 +01:00
parent d3366a535b
commit 563baa53c3

View file

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