mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
refresh in more cases
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
render={false}
|
||||
{id}
|
||||
{fields}
|
||||
{autoRefresh}
|
||||
autoRefresh={true}
|
||||
{doNotRecomputeOnInputChanged}
|
||||
bind:result
|
||||
transformer={undefined}
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
runnable && runnable.type === 'runnableByName' ? runnable.inlineScript?.refreshOn ?? [] : []
|
||||
|
||||
function refreshIfAutoRefresh(_src: string) {
|
||||
const refreshEnabled = autoRefresh || !doNotRecomputeOnInputChanged || refreshOn?.length > 0
|
||||
const refreshEnabled = autoRefresh && (!doNotRecomputeOnInputChanged || refreshOn?.length > 0)
|
||||
if (refreshEnabled && $worldStore.initialized) {
|
||||
setDebouncedExecute()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user