This commit is contained in:
mike12345567 2025-03-07 15:33:18 +00:00
parent d70313c8e8
commit 28d3d4462e
2 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,10 @@
focus = false focus = false
} }
const getStyleString = (attribute: string, value: string | number | undefined) => { const getStyleString = (
attribute: string,
value: string | number | undefined
) => {
if (!attribute || value == null) { if (!attribute || value == null) {
return "" return ""
} }

View File

@ -21,7 +21,7 @@
export let createDatasource = false export let createDatasource = false
export let onCancel: (() => void) | undefined = undefined export let onCancel: (() => void) | undefined = undefined
const data = writable<{ url: string, raw: string, file?: any }>({ const data = writable<{ url: string; raw: string; file?: any }>({
url: "", url: "",
raw: "", raw: "",
file: undefined, file: undefined,