From 29a4e367e359935a92b7b6e26726063bea21b3c6 Mon Sep 17 00:00:00 2001 From: mufazalov Date: Mon, 3 Mar 2025 10:58:46 +0300 Subject: [PATCH] fix(PDiskInfo): display SharedWithOs only when true --- src/components/PDiskInfo/PDiskInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PDiskInfo/PDiskInfo.tsx b/src/components/PDiskInfo/PDiskInfo.tsx index 106efd4b10..f5e959f265 100644 --- a/src/components/PDiskInfo/PDiskInfo.tsx +++ b/src/components/PDiskInfo/PDiskInfo.tsx @@ -68,7 +68,7 @@ function getPDiskInfo({ value: SerialNumber, }); } - if (valueIsDefined(SharedWithOs)) { + if (SharedWithOs) { generalInfo.push({ label: pDiskInfoKeyset('shared-with-os'), value: pDiskInfoKeyset('yes'),