fix(striker-ui): rename node->subnode in prepare host form

main
Tsu-ba-me 1 year ago
parent 7631e3ad9c
commit 32ee5c65c9
  1. 6
      striker-ui/components/PrepareHostForm.tsx

@ -522,7 +522,7 @@ const PrepareHostForm: FC = () => {
setIsShowAccessSection(true); setIsShowAccessSection(true);
}} }}
radioItems={{ radioItems={{
node: { label: 'Node', value: 'node' }, node: { label: 'Subnode', value: 'node' },
dr: { label: 'Disaster Recovery (DR) host', value: 'dr' }, dr: { label: 'Disaster Recovery (DR) host', value: 'dr' },
}} }}
/> />
@ -549,7 +549,9 @@ const PrepareHostForm: FC = () => {
'preparehost-confirm-host-type-value': { 'preparehost-confirm-host-type-value': {
children: ( children: (
<MonoText> <MonoText>
{inputHostType === 'dr' ? 'Disaster Recovery (DR)' : 'Node'} {inputHostType === 'dr'
? 'Disaster Recovery (DR)'
: 'Subnode'}
</MonoText> </MonoText>
), ),
}, },

Loading…
Cancel
Save