diff --git a/web/src/components/storage/PartitionsField.jsx b/web/src/components/storage/PartitionsField.jsx index dc971ff49c..c4a5631e16 100644 --- a/web/src/components/storage/PartitionsField.jsx +++ b/web/src/components/storage/PartitionsField.jsx @@ -23,7 +23,7 @@ import React, { useState } from "react"; import { - Button, Dropdown, DropdownList, DropdownItem, List, ListItem, MenuToggle, Skeleton + Button, Divider, Dropdown, DropdownList, DropdownItem, List, ListItem, MenuToggle, Skeleton } from '@patternfly/react-core'; import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table'; import { sprintf } from "sprintf-js"; @@ -596,11 +596,18 @@ const AddVolumeButton = ({ options, onClick }) => { > {options.map((option, index) => { - return ( - - {option === "" ? _("Other") : option} - - ); + if (option === "") { + return ( + + + {_("Other")} + + ); + } else { + return ( + {option} + ); + } })}