mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 16:02:23 +00:00
improve primary schedule direct button on script editor
This commit is contained in:
@@ -1094,7 +1094,7 @@
|
||||
</div>
|
||||
|
||||
<div class="gap-4 flex">
|
||||
{#if $primaryScheduleStore && $primaryScheduleStore?.enabled}
|
||||
{#if $primaryScheduleStore != undefined ? $primaryScheduleStore && $primaryScheduleStore?.enabled : $triggersCount?.primary_schedule}
|
||||
<Button
|
||||
btnClasses="hidden lg:inline-flex"
|
||||
startIcon={{ icon: Calendar }}
|
||||
@@ -1107,7 +1107,11 @@
|
||||
$selectedTriggerStore = 'schedules'
|
||||
}}
|
||||
>
|
||||
{$primaryScheduleStore?.cron ?? ''}
|
||||
{$primaryScheduleStore != undefined
|
||||
? $primaryScheduleStore
|
||||
? $primaryScheduleStore?.cron
|
||||
: ''
|
||||
: $triggersCount?.primary_schedule?.schedule}
|
||||
</Button>
|
||||
{/if}
|
||||
{#if customUi?.topBar?.path != false}
|
||||
|
||||
Reference in New Issue
Block a user