case ProcessStatus.FAILED:
color = theme.customs.colors.red900;
break;
+ case ProcessStatus.QUEUED:
+ color = theme.customs.colors.grey600;
+ running = true;
+ break;
default:
color = theme.customs.colors.grey600;
break;
// Set text color to status color when running, else use white text for solid button
color: running ? color : theme.palette.common.white,
// Set border color when running, else omit the style entirely
- ...(running ? {border: `1px solid ${color}`} : {}),
+ ...(running ? {border: `2px solid ${color}`} : {}),
};
};