mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 08:00:59 +00:00
fix(frontend): Align Settings button + add missing suspend shortcut (#694)
* fix(frontend): Align Settings button + add missing suspend shortcut + Disable up to when the error handler is selected
This commit is contained in:
@@ -109,6 +109,7 @@
|
||||
<FlowModuleHeader
|
||||
bind:module={flowModule}
|
||||
on:delete
|
||||
on:toggleSuspend={() => (selected = 'suspend')}
|
||||
on:toggleRetry={() => (selected = 'retries')}
|
||||
on:toggleStopAfterIf={() => (selected = 'early-stop')}
|
||||
on:fork={() => apply(fork, flowModule)}
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
'settings-schedule',
|
||||
'settings-retries',
|
||||
'inputs',
|
||||
'schedules'
|
||||
'schedules',
|
||||
'failure'
|
||||
].includes($selectedId)
|
||||
</script>
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
)}
|
||||
>
|
||||
<Icon data={faSliders} class="mr-2" />
|
||||
<span class="font-bold flex flex-row justify-between w-full flex-wrap gap-2"
|
||||
<span class="font-bold flex flex-row justify-between w-full flex-wrap gap-2 items-center"
|
||||
>Settings <span
|
||||
class={classNames('badge', $schedule?.enabled ? 'badge-on' : 'badge-off')}
|
||||
on:click|stopPropagation={() => select('settings-schedule')}
|
||||
|
||||
Reference in New Issue
Block a user