Merge pull request #4941 from erdoganoksuz/bug-fix/locale-case

use local version of all case conversion methods
This commit is contained in:
Fredrik Adelöw
2021-03-17 23:34:09 +01:00
committed by GitHub
31 changed files with 85 additions and 45 deletions
@@ -30,7 +30,7 @@ export const JenkinsRunStatus = ({
status: string | undefined;
}) => {
if (status === undefined) return null;
switch (status.toLowerCase()) {
switch (status.toLocaleLowerCase('en-US')) {
case 'queued':
case 'scheduled':
return (