style(web): use success toggle for workflow enable switch
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -156,7 +156,7 @@ export function WorkflowsPage() {
|
|||||||
<label className="inline-flex items-center mr-1" title={w.enabled ? "Disable" : "Enable"}>
|
<label className="inline-flex items-center mr-1" title={w.enabled ? "Disable" : "Enable"}>
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="toggle toggle-xs"
|
className="toggle toggle-success toggle-xs"
|
||||||
checked={Boolean(w.enabled)}
|
checked={Boolean(w.enabled)}
|
||||||
disabled={Boolean(w.loadError) || togglingKey === w.key}
|
disabled={Boolean(w.loadError) || togglingKey === w.key}
|
||||||
onChange={() =>
|
onChange={() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user