diff --git a/AppImage/components/storage-overview.tsx b/AppImage/components/storage-overview.tsx index 95fbe102..867fc0fb 100644 --- a/AppImage/components/storage-overview.tsx +++ b/AppImage/components/storage-overview.tsx @@ -318,6 +318,9 @@ function PercentRing({ value, color, label }: { value: number; color: string; la ) } +// OpenZFS reports a pool without its newer features enabled, which needs no action. +const zfsStatusIsInformational = (status?: string | null) => /features are not enabled/i.test(status ?? "") + const zfsFragmentationColor = (pct: number) => (pct > 80 ? "#ef4444" : pct > 50 ? "#eab308" : "#06b6d4") export function StorageOverview({ disksOnly = false }: { disksOnly?: boolean } = {}) { @@ -2002,7 +2005,11 @@ export function StorageOverview({ disksOnly = false }: { disksOnly?: boolean } =
{t("storage.zfs.status")}: {pool.status}
} {pool.action &&{t("storage.zfs.action")}: {pool.action}
}