Merge pull request #4941 from erdoganoksuz/bug-fix/locale-case
use local version of all case conversion methods
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user