init args in flowpreviewcontent

This commit is contained in:
Ruben Fiszel
2022-08-23 21:56:05 +02:00
parent 8a07b0b432
commit cf4d2ea68c
2 changed files with 5 additions and 5 deletions

View File

@@ -30,10 +30,10 @@
let previewOpen = false
let scheduleArgs: Record<string, any>
let previewArgs: Record<string, any>
let scheduleEnabled: boolean
let scheduleCron: string
let scheduleArgs: Record<string, any> = {}
let previewArgs: Record<string, any> = {}
let scheduleEnabled: boolean = false
let scheduleCron: string = ''
$: step = Number($page.url.searchParams.get('step')) || 1

View File

@@ -17,7 +17,7 @@
let inputCheck: { [id: string]: boolean } = {}
$: isValid = allTrue(inputCheck) ?? false
$: if (!args) {
$: if (args == undefined) {
args = {}
}