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:
Faton Ramadani
2022-10-07 10:16:15 +02:00
committed by GitHub
parent a08436622b
commit b59d1f8717
3 changed files with 4 additions and 2 deletions
@@ -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')}