Wizard: Update the File system step
Fixes #911. Fixes #912. This updates the File system step. The changes are: - changed the toggle group for selecting the mode of partitioning to radio select and updated information for each radio button as mentioned in #911 - added information to the "automatic" option of the file system configuration as mentioned in #912 - updated information for the "manual" option of the configuration as mentioned in mocks
This commit is contained in:
parent
a3a7d9a441
commit
cbd6b1e4cb
8 changed files with 110 additions and 80 deletions
|
|
@ -67,7 +67,7 @@ const onSave = (values) => {
|
|||
};
|
||||
}
|
||||
|
||||
if (values['file-system-config-toggle'] === 'manual') {
|
||||
if (values['file-system-config-radio'] === 'manual') {
|
||||
customizations.filesystem = [];
|
||||
for (let fsc of values['file-system-configuration']) {
|
||||
customizations.filesystem.push({
|
||||
|
|
@ -377,7 +377,7 @@ const requestToState = (composeRequest) => {
|
|||
// filesystem
|
||||
const fs = composeRequest?.customizations?.filesystem;
|
||||
if (fs) {
|
||||
formState['file-system-config-toggle'] = 'manual';
|
||||
formState['file-system-config-radio'] = 'manual';
|
||||
let fileSystemConfiguration = [];
|
||||
for (let fsc of fs) {
|
||||
const [size, unit] = parseSizeUnit(fsc.min_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue