Skip to content

Commit 9ce9a68

Browse files
committed
fix(dashboard): last triggered checklist item
1 parent beb032f commit 9ce9a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/components/workflow-editor/workflow-checklist.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ function useChecklistItems(steps: Step[]) {
197197
key: 'trigger',
198198
title: 'Trigger workflow',
199199
description: 'Trigger the workflow to test it in production',
200-
isCompleted: () => workflow?.lastTriggeredAt !== undefined,
200+
isCompleted: () => !!workflow?.lastTriggeredAt,
201201
onClick: () => {
202202
telemetry(TelemetryEvent.WORKFLOW_CHECKLIST_STEP_CLICKED, { stepTitle: 'Trigger workflow' });
203203
navigate(

0 commit comments

Comments
 (0)