diff --git a/Client/src/Pages/Infrastructure/Details/index.jsx b/Client/src/Pages/Infrastructure/Details/index.jsx index b76aa3de3..e1611f982 100644 --- a/Client/src/Pages/Infrastructure/Details/index.jsx +++ b/Client/src/Pages/Infrastructure/Details/index.jsx @@ -54,7 +54,7 @@ const formatBytes = (bytes) => { * decimalToPercentage(null) // Returns 0 */ const decimalToPercentage = (value) => { - if (value === null || undefined) return 0; + if (value === null || value === undefined) return 0; return value * 100; };