mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 08:05:44 +00:00
more app fixes
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
export let render: boolean
|
||||
export let outputs: { result: Output<any>; loading: Output<boolean> }
|
||||
export let extraKey = ''
|
||||
export let recomputeOnInputChanged: boolean = false
|
||||
export let recomputeOnInputChanged: boolean = true
|
||||
export let loading = false
|
||||
export let recomputableByRefreshButton: boolean = true
|
||||
export let refreshOnStart: boolean = false
|
||||
|
||||
@@ -31,13 +31,15 @@
|
||||
appInput = clearResultAppInput(appInput)
|
||||
}
|
||||
|
||||
if (appInput.recomputeOnInputChanged === undefined) {
|
||||
appInput.recomputeOnInputChanged = true
|
||||
}
|
||||
//TODO: remove after migration is done
|
||||
if (appInput.doNotRecomputeOnInputChanged != undefined) {
|
||||
appInput.recomputeOnInputChanged = !appInput.doNotRecomputeOnInputChanged
|
||||
appInput.doNotRecomputeOnInputChanged = undefined
|
||||
$: {
|
||||
if (appInput.recomputeOnInputChanged === undefined) {
|
||||
appInput.recomputeOnInputChanged = true
|
||||
}
|
||||
//TODO: remove after migration is done
|
||||
if (appInput.doNotRecomputeOnInputChanged != undefined) {
|
||||
appInput.recomputeOnInputChanged = !appInput.doNotRecomputeOnInputChanged
|
||||
appInput.doNotRecomputeOnInputChanged = undefined
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
+8
-6
@@ -19,13 +19,15 @@
|
||||
export let doNotRecomputeOnInputChanged: undefined | boolean = undefined
|
||||
|
||||
//TODO: remove after migration is done
|
||||
if (doNotRecomputeOnInputChanged != undefined) {
|
||||
recomputeOnInputChanged = !doNotRecomputeOnInputChanged
|
||||
doNotRecomputeOnInputChanged = undefined
|
||||
}
|
||||
$: {
|
||||
if (doNotRecomputeOnInputChanged != undefined) {
|
||||
recomputeOnInputChanged = !doNotRecomputeOnInputChanged
|
||||
doNotRecomputeOnInputChanged = undefined
|
||||
}
|
||||
|
||||
if (recomputeOnInputChanged == undefined) {
|
||||
recomputeOnInputChanged = true
|
||||
if (recomputeOnInputChanged == undefined) {
|
||||
recomputeOnInputChanged = true
|
||||
}
|
||||
}
|
||||
|
||||
$: dependencies = getDependencies(fields)
|
||||
|
||||
Reference in New Issue
Block a user