Previously when stages or steps were edited there would be a state when stages could go RED or ALL green while touchpoints were in an ambiguous state. this code adds a "grey" status for stages which remains until touchoints are in a determined state. This is the actionable code:
if (stage.status_color === 'danger') {
healthIcon = dangerHeart;
}
else if (stage.status_color === 'good') {
healthIcon = goodHeart;
}
else if (stage.status_color === 'warning') {
healthIcon = warningHeart;
}
Previously when stages or steps were edited there would be a state when stages could go RED or ALL green while touchpoints were in an ambiguous state. this code adds a "grey" status for stages which remains until touchoints are in a determined state. This is the actionable code: