fix(striker-ui): rename 'virtual disk'->'disk' in provision server

main
Tsu-ba-me 1 year ago
parent efc3b46c2b
commit 28ed37ef3b
  1. 7
      striker-ui/components/ProvisionServerDialog.tsx

@ -32,7 +32,7 @@ import {
testNotBlank, testNotBlank,
testRange, testRange,
} from '../lib/test_input'; } from '../lib/test_input';
import { BodyText, HeaderText, InlineMonoText } from './Text'; import { BodyText, HeaderText, InlineMonoText, MonoText } from './Text';
type InputMessage = Partial<Pick<MessageBoxProps, 'type' | 'text'>>; type InputMessage = Partial<Pick<MessageBoxProps, 'type' | 'text'>>;
@ -745,7 +745,7 @@ const createVirtualDiskForm = (
<Box sx={{ display: 'flex', flexDirection: 'column' }}> <Box sx={{ display: 'flex', flexDirection: 'column' }}>
<OutlinedLabeledInputWithSelect <OutlinedLabeledInputWithSelect
id={`ps-virtual-disk-size-${vdIndex}`} id={`ps-virtual-disk-size-${vdIndex}`}
label="Virtual disk size" label="Disk size"
messageBoxProps={get('inputSizeMessages')} messageBoxProps={get('inputSizeMessages')}
inputWithLabelProps={{ inputWithLabelProps={{
inputProps: { inputProps: {
@ -1379,6 +1379,7 @@ const ProvisionServerDialog = ({
<BodyText text="Memory" /> <BodyText text="Memory" />
</Grid> </Grid>
<Grid item xs={c2}> <Grid item xs={c2}>
<MonoText />
<InlineMonoText text={`${inputMemoryValue} ${inputMemoryUnit}`} /> <InlineMonoText text={`${inputMemoryValue} ${inputMemoryUnit}`} />
</Grid> </Grid>
<Grid item xs={c3}> <Grid item xs={c3}>
@ -1407,7 +1408,7 @@ const ProvisionServerDialog = ({
> >
<Grid item xs={c1}> <Grid item xs={c1}>
<BodyText> <BodyText>
Virtual disk <InlineMonoText text={vdIndex} /> Disk <InlineMonoText text={vdIndex} />
</BodyText> </BodyText>
</Grid> </Grid>
<Grid item xs={c2}> <Grid item xs={c2}>

Loading…
Cancel
Save