diff --git a/src/interaction/siRules.js b/src/interaction/siRules.js index 3e8af1a0547b59e298f9afb2b1bee3682cc9f1d5..98283ee1f1ce638d2fb93797da1054a4c7f2700b 100644 --- a/src/interaction/siRules.js +++ b/src/interaction/siRules.js @@ -306,7 +306,7 @@ App.UI.SlaveInteract.rules = function(slave) { let links = document.createElement('div'); links.append(`${text}: `); links.append(status(_.get(slave, setting), master)); - links.appendChild(App.UI.SlaveInteract.generateRows(options, slave)); + links.appendChild(App.UI.SlaveInteract.generateRows(options, slave, "", false, refresh)); links.className = "choices"; el.append(links); } diff --git a/src/interaction/siUtilities.js b/src/interaction/siUtilities.js index 88504c48ee5fce2f52bb385c1402a7148dbae3b2..e7f9a4d70074be6deb767b9637ab774a97163030 100644 --- a/src/interaction/siUtilities.js +++ b/src/interaction/siUtilities.js @@ -63,18 +63,6 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck const linkArray = []; for (let i = 0; i < array.length; i++) { let link; - const keys = Object.keys(array[i]); - - // Test to see if there was a problem with the key - for (let j = 0; j < keys.length; j++) { - if (["FS", "text", "updateSlave", "update", "note", "disabled"].includes(keys[j])) { - continue; - } else { - array[i].text += " ERROR, THIS SCENE WAS NOT ENTERED CORRECTLY"; - console.log("Trash found while generateRows() was running: " + keys[j] + ": " + array[i][keys[j]]); - break; - } - } // Some items will never be in App.Data.slaveWear, especially "none" if it falls in between harsh and nice data sets. Trying to look it up would cause an error, which is what access check works around. let unlocked = false; if (accessCheck === true) {