Masternode improvements

-Added support for a couple masternode list and count formats that do not have a separate fieldname for each value
-Masternode grid columns are now shown or hidden based on whether there is any data
This commit is contained in:
Joe Uhren
2024-02-02 15:21:45 -07:00
parent f57db7c033
commit dace981d6a
4 changed files with 271 additions and 61 deletions
+1 -1
View File
@@ -1658,7 +1658,7 @@ if (lib.is_locked([database]) == false) {
lib.syncLoop((isObject ? objectKeys : body).length, function(loop) {
var i = loop.iteration();
db.save_masternode((isObject ? body[objectKeys[i]] : body[i]), function(success) {
db.save_masternode((isObject ? body[objectKeys[i]] : body[i]), (isObject ? objectKeys[i] : null), function(success) {
if (success) {
// check if the script is stopping
if (stopSync) {