Skip to content

Commit

Permalink
fix(frontend): Align Settings button + add missing suspend shortcut (#…
Browse files Browse the repository at this point in the history
…694)

* fix(frontend): Align Settings button + add missing suspend shortcut + Disable up to when the error handler is selected
  • Loading branch information
fatonramadani committed Oct 7, 2022
1 parent a084366 commit b59d1f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
'settings-schedule',
'settings-retries',
'inputs',
'schedules'
'schedules',
'failure'
].includes($selectedId)
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')}
Expand Down

0 comments on commit b59d1f8

Please sign in to comment.