diff --git a/web/src/components/layout/Icon.jsx b/web/src/components/layout/Icon.jsx index 85dc96c6a3..b4b5827c1b 100644 --- a/web/src/components/layout/Icon.jsx +++ b/web/src/components/layout/Icon.jsx @@ -38,7 +38,6 @@ import Edit from "@icons/edit.svg?component"; import EditSquare from "@icons/edit_square.svg?component"; import Error from "@icons/error.svg?component"; import ExpandAll from "@icons/expand_all.svg?component"; -import ExpandMore from "@icons/expand_more.svg?component"; import Feedback from "@icons/feedback.svg?component"; import Folder from "@icons/folder.svg?component"; import FolderOff from "@icons/folder_off.svg?component"; @@ -84,7 +83,7 @@ import WifiOff from "@icons/wifi_off.svg?component"; // Icons from react-simple-icons -import { SiLinux, SiWindows } from "@icons-pack/react-simple-icons"; +import { SiLinux } from "@icons-pack/react-simple-icons"; /** * @typedef {string|number} IconSize @@ -107,7 +106,6 @@ const icons = { edit_square: EditSquare, error: Error, expand_all: ExpandAll, - expand_more: ExpandMore, feedback: Feedback, folder: Folder, folder_off: FolderOff, @@ -152,7 +150,6 @@ const icons = { wifi_off: WifiOff, // brand icons linux_logo: SiLinux, - windows_logo: SiWindows, }; const PREDEFINED_SIZES = ["xxxs", "xxs", "xs", "s", "m", "l", "xl", "xxl", "xxxl"]; diff --git a/web/src/components/storage/DeviceSelectorTable.tsx b/web/src/components/storage/DeviceSelectorTable.tsx index 281e1c5616..74662aefb1 100644 --- a/web/src/components/storage/DeviceSelectorTable.tsx +++ b/web/src/components/storage/DeviceSelectorTable.tsx @@ -161,11 +161,13 @@ const DeviceExtendedDetails = ({ item }: { item: PartitionSlot | StorageDevice } if (!device.systems || device.systems.length === 0) return null; const System = ({ system }) => { - const logo = /windows/i.test(system) ? "windows_logo" : "linux_logo"; + const isWindows = /windows/i.test(system); + + if (isWindows) return; return (