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

This commit is contained in:
Kartik Labhshetwar
2025-12-17 12:42:00 +00:00
committed by GitHub
parent 2f1dd92677
commit 970af8bd6a
@@ -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