{#if emptyString($schedule.cron)}
Define a schedule frequency first
{/if}
Changes to the primary schedule are only applied upon deploy. Other schedules' changes are applied immediately.
{#if initialPath != ''}
{ loadSchedules() }} bind:this={scheduleEditor} />
Other schedules
scheduleEditor?.openNew(false, initialPath)} variant="border" color="light" size="xs" startIcon={{ icon: Calendar }} > New Schedule
{#if schedules} {#if schedules.length == 0}
No other schedules
{:else}
{#each schedules as schedule (schedule.path)}
{schedule.path}
{schedule.schedule}
{schedule.enabled ? 'on' : 'off'}
scheduleEditor?.openEdit(schedule.path, false)}>Edit
{/each}
{/if} {:else}
{/if} {/if}