fix: display for unavailable stats entries

This commit is contained in:
Bobby 2022-10-06 23:12:50 +07:00
parent f6b6eabbc2
commit e7d343e70f
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09

View File

@ -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':