From e7d343e70ffe044107396c773211471e9bf21cff Mon Sep 17 00:00:00 2001 From: Bobby Date: Thu, 6 Oct 2022 23:12:50 +0700 Subject: [PATCH] fix: display for unavailable stats entries --- src/js/dashboard.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/dashboard.js b/src/js/dashboard.js index 747fe51..7ddbb45 100644 --- a/src/js/dashboard.js +++ b/src/js/dashboard.js @@ -3231,6 +3231,9 @@ page.getStatistics = (params = {}) => { case 'uptime': parsed = page.getPrettyUptime(value) break + case 'unavailable': + parsed = 'N/A' + break case 'auto': switch (typeof value) { case 'number':