1
0
Fork 0

fix(gui): capitalize tile order options

This commit is contained in:
Sean Sube 2023-02-11 18:21:42 -06:00
parent ffbe0929e6
commit 6a6f482178
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import { doesExist, mustExist } from '@apextoaster/js-utils';
import { Box, Button, FormControl, FormControlLabel, InputLabel, MenuItem, Select, Stack } from '@mui/material';
import { capitalize } from 'lodash';
import * as React from 'react';
import { useContext } from 'react';
import { useMutation, useQuery, useQueryClient } from 'react-query';
@ -163,7 +164,7 @@ export function Inpaint() {
}}
>
{params.tileOrder.keys.map((name) =>
<MenuItem key={name} value={name}>{name.toLocaleUpperCase()}</MenuItem>)
<MenuItem key={name} value={name}>{capitalize(name)}</MenuItem>)
}
</Select>
</FormControl>