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
1 changed files with 1 additions and 1 deletions

View File

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