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
@@ -18,7 +18,8 @@ import React from 'react';
import { KubernetesDrawer } from '../KubernetesDrawer/KubernetesDrawer';
import { Typography, Grid } from '@material-ui/core';
const capitalize = (str: string) => str.charAt(0).toUpperCase() + str.slice(1);
const capitalize = (str: string) =>
str.charAt(0).toLocaleUpperCase('en-US') + str.slice(1);
export const DefaultCustomResourceDrawer = ({
customResource,