MCPcopy
hub / github.com/FlowiseAI/Flowise / getStatusColor

Function getStatusColor

packages/ui/src/views/evaluations/index.jsx:600–611  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

598 }
599
600 const getStatusColor = (status) => {
601 switch (status) {
602 case 'pending':
603 return '#ffc107'
604 case 'completed':
605 return '#52b69a'
606 case 'error':
607 return '#f44336'
608 default:
609 return '#bcbcbc'
610 }
611 }
612
613 const getPassRateColor = (passPcnt) => {
614 if (passPcnt > 90) {

Callers 1

EvaluationRunRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected