Skip to content

Commit

Permalink
Replaced mountpoint selctor with text
Browse files Browse the repository at this point in the history
  • Loading branch information
nagu165 committed Jan 1, 2024
1 parent 7b8722f commit 2ad5599
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/src/components/storage/VolumeForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -723,13 +723,14 @@ export default function VolumeForm({ id, volume: currentVolume, templates = [],
return (
<Form id={id} onSubmit={submitForm}>
<FormGroup isRequired label={_("Mount point")} fieldId="mountPoint">
<MountPointFormSelect
{currentVolume !== undefined} && <p> {state.formData.mountPoint} </p>
{/* <MountPointFormSelect
id="mountPoint"
value={state.formData.mountPoint}
onChange={changeVolume}
volumes={currentVolume ? [currentVolume] : templates}
isDisabled={currentVolume !== undefined}
/>
/> */}
</FormGroup>
<FsField
value={{ fsType, snapshots }}
Expand Down

0 comments on commit 2ad5599

Please sign in to comment.