locale added all case conversion

Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
This commit is contained in:
erdoganoksuz
2021-03-12 15:06:01 +03:00
parent 37189b54ab
commit 9ca0e40094
31 changed files with 93 additions and 51 deletions
@@ -79,7 +79,7 @@ export type CITableBuildInfo = {
// retried, canceled, infrastructure_fail, timedout, not_run, running, failed, queued, scheduled, not_running, no_tests, fixed, success
const getStatusComponent = (status: string | undefined = '') => {
switch (status.toLowerCase()) {
switch (status.toLocaleLowerCase('en-US')) {
case 'queued':
case 'scheduled':
return <StatusPending />;