diff --git a/ui/webui/src/components/storage/MountPointMapping.jsx b/ui/webui/src/components/storage/MountPointMapping.jsx index 30acf5910d8..b4928233530 100644 --- a/ui/webui/src/components/storage/MountPointMapping.jsx +++ b/ui/webui/src/components/storage/MountPointMapping.jsx @@ -138,7 +138,7 @@ const MountPointColumn = ({ handleRequestChange, idPrefix, isRequiredMountPoint, return ( - {isRequiredMountPoint + {isRequiredMountPoint && !duplicatedMountPoint ? ( { const isRequiredMountPoint = !!requiredMountPointOptions.find(val => val.value === request["mount-point"]); + const duplicatedMountPoint = isDuplicateRequestField(requests, "mount-point", request["mount-point"]); const rowId = idPrefix + "-row-" + request["request-id"]; return { @@ -344,7 +345,7 @@ const RequestsTable = ({ }, { title: ( - isRequiredMountPoint ? null : + (isRequiredMountPoint && !duplicatedMountPoint) ? null : ), props: { className: columnClassName } }