Skip to content

Scheduling infrastructure for absolutely everyone.

fix: change button color to destructive in WorkflowListPage (#25965)

Kartik Labhshetwar970af8bd6a7c
diff --git a/packages/features/ee/workflows/components/WorkflowListPage.tsx b/packages/features/ee/workflows/components/WorkflowListPage.tsx
index 63d93d96092..b430bda0b78 100644
--- a/packages/features/ee/workflows/components/WorkflowListPage.tsx
+++ b/packages/features/ee/workflows/components/WorkflowListPage.tsx
@@ -272,7 +272,7 @@ export default function WorkflowListPage({ workflows }: Props) {
setDeleteDialogOpen(true);
setwWorkflowToDeleteId(workflow.id);
}}
- color="secondary"
+ color="destructive"
variant="icon"
disabled={
workflow.permissions ? !workflow.permissions?.canDelete : workflow.readOnly