1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +12:00

Ensure the default export value is only set once

This commit is contained in:
Dean 2023-08-31 08:51:00 +01:00
parent 4d2f76e5be
commit 2f36b2f805

View file

@ -42,7 +42,7 @@
let exportFormat let exportFormat
let filterLookup let filterLookup
$: if (options) { $: if (options && !exportFormat) {
exportFormat = Array.isArray(options) ? options[0]?.key : [] exportFormat = Array.isArray(options) ? options[0]?.key : []
} }