mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-05 16:03:47 +00:00
fix(frontend): fix recomputa all (#1491)
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@
|
||||
bind:recomputeOnInputChanged={script.recomputeOnInputChanged}
|
||||
canConfigureRecomputeOnInputChanged={script.inlineScript?.language !== 'frontend'}
|
||||
on:updateAutoRefresh={() => {
|
||||
const autoRefresh = !script.autoRefresh
|
||||
const autoRefresh = script.autoRefresh
|
||||
if ($runnableComponents?.[id]?.autoRefresh !== autoRefresh && autoRefresh !== undefined) {
|
||||
$runnableComponents[id] = {
|
||||
...$runnableComponents[id],
|
||||
|
||||
+1
-2
@@ -49,10 +49,9 @@
|
||||
bind:autoRefresh={appInput.autoRefresh}
|
||||
bind:recomputeOnInputChanged={appInput.recomputeOnInputChanged}
|
||||
on:updateAutoRefresh={() => {
|
||||
const autoRefresh = !(
|
||||
const autoRefresh =
|
||||
appComponent.componentInput?.type === 'runnable' &&
|
||||
appComponent?.componentInput?.autoRefresh
|
||||
)
|
||||
|
||||
if (
|
||||
appComponent.componentInput?.type === 'runnable' &&
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
<div class="flex flex-row p-2 border-gray-200 justify-between bg-blue-50/60">
|
||||
<div class="flex flex-row gap-2 items-center">
|
||||
<FunctionSquare size={16} color="blue" />
|
||||
<FunctionSquare size={16} color="#3b82f6" />
|
||||
<span class="text-xs font-semibold truncate">
|
||||
{name}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user