Merge pull request #4941 from erdoganoksuz/bug-fix/locale-case
use local version of all case conversion methods
This commit is contained in:
@@ -500,7 +500,7 @@ const DomainEntityPage = ({ entity }: { entity: Entity }) => (
|
||||
export const EntityPage = () => {
|
||||
const { entity } = useEntity();
|
||||
|
||||
switch (entity?.kind?.toLowerCase()) {
|
||||
switch (entity?.kind?.toLocaleLowerCase('en-US')) {
|
||||
case 'component':
|
||||
return <ComponentEntityPage entity={entity} />;
|
||||
case 'api':
|
||||
|
||||
Reference in New Issue
Block a user