From dbdbd5641675cd4a0c4f369ae38c744c547dfdd3 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Fri, 11 Aug 2023 10:59:24 +0200 Subject: [PATCH] webui: Remove obsolete check for btrfs reformat support Support for reformatting of btrfs volumes was added in #4970. --- ui/webui/src/components/storage/MountPointMapping.jsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ui/webui/src/components/storage/MountPointMapping.jsx b/ui/webui/src/components/storage/MountPointMapping.jsx index 30acf5910d8..530cd46237b 100644 --- a/ui/webui/src/components/storage/MountPointMapping.jsx +++ b/ui/webui/src/components/storage/MountPointMapping.jsx @@ -439,7 +439,6 @@ const MountPointMappingContent = ({ deviceData, partitioningData, dispatch, idPr }, [deviceData, requests, setIsFormValid]); const handleRequestChange = (mountpoint, device, newRequestId, reformat) => { - const data = deviceData[device]; const _requests = requests.map(row => { const newRow = { ...row }; if (row["request-id"] === newRequestId) { @@ -448,11 +447,6 @@ const MountPointMappingContent = ({ deviceData, partitioningData, dispatch, idPr newRow.reformat = false; } - // TODO: Anaconda does not support formatting btrfs yet - if (row["device-spec"] !== device && data?.["format-type"] === "btrfs") { - newRow.reformat = false; - } - // Always reformat the root partition if (mountpoint === "/") { newRow.reformat = true;