fix: Fixed schedule workflow col
Chart Release / chart (push) Successful in 20s
Server Deploy / deploy (push) Successful in 41s

This commit is contained in:
2026-08-04 14:42:10 +01:00
parent b21ac05547
commit c2635ed51a
2 changed files with 39 additions and 4 deletions
+7 -4
View File
@@ -64,7 +64,7 @@ export default function WorkflowsPage() {
<Th>Name</Th>
<Th>Targets</Th>
<Th>Steps</Th>
<Th>Schedule</Th>
<Th>Next Run</Th>
<Th />
</Tr>
</Thead>
@@ -82,9 +82,12 @@ export default function WorkflowsPage() {
<Td label="Steps">
<span className="text-text-secondary">{w.steps.length}</span>
</Td>
<Td label="Schedule">
{w.schedule?.enabled && <span className="rounded-sm border border-border px-1.5 py-0.5 font-mono text-[10px] text-text-secondary">{w.schedule.cron}</span>}
{w.next_run_at && <span className="font-mono text-[11px] text-text-tertiary">next {new Date(w.next_run_at).toLocaleString()}</span>}
<Td label="Next Run">
{w.next_run_at && w.schedule?.enabled ? (
<span className="font-mono text-[11px] text-text-tertiary">{new Date(w.next_run_at).toLocaleString()}</span>
) : (
<span className="font-mono text-[11px] text-text-tertiary">No Schedule Set</span>
)}
</Td>
<Td>
<div className="flex items-center justify-end gap-2">