Skip to content

Commit 7c21d71

Browse files
fix(PDiskInfo): display SharedWithOs only when true (#1991)
1 parent 966ff4b commit 7c21d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PDiskInfo/PDiskInfo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function getPDiskInfo<T extends PreparedPDisk>({
6868
value: SerialNumber,
6969
});
7070
}
71-
if (valueIsDefined(SharedWithOs)) {
71+
if (SharedWithOs) {
7272
generalInfo.push({
7373
label: pDiskInfoKeyset('shared-with-os'),
7474
value: pDiskInfoKeyset('yes'),

0 commit comments

Comments
 (0)