mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-09-04 07:07:03 +00:00
Fix error text if the node has 0 disk/memory usage
This commit is contained in:
@@ -37,9 +37,9 @@ module.exports = (value, type) => {
|
||||
|
||||
return result;
|
||||
} else {
|
||||
return "INVALID VALUE";
|
||||
return "0";
|
||||
}
|
||||
} else {
|
||||
return "ERROR";
|
||||
return "0";
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user