mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
fix: display for unavailable stats entries
This commit is contained in:
parent
f6b6eabbc2
commit
e7d343e70f
@ -3231,6 +3231,9 @@ page.getStatistics = (params = {}) => {
|
|||||||
case 'uptime':
|
case 'uptime':
|
||||||
parsed = page.getPrettyUptime(value)
|
parsed = page.getPrettyUptime(value)
|
||||||
break
|
break
|
||||||
|
case 'unavailable':
|
||||||
|
parsed = 'N/A'
|
||||||
|
break
|
||||||
case 'auto':
|
case 'auto':
|
||||||
switch (typeof value) {
|
switch (typeof value) {
|
||||||
case 'number':
|
case 'number':
|
||||||
|
Loading…
Reference in New Issue
Block a user