From 060f15aa6eb7a5e5bb9eed62e59f6af6d06175bf Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Thu, 10 Sep 2020 09:03:06 -0400 Subject: [PATCH] blank fix --- src/js/removeSlave.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/js/removeSlave.js b/src/js/removeSlave.js index c63577fbb66..4a1ebfe82c9 100644 --- a/src/js/removeSlave.js +++ b/src/js/removeSlave.js @@ -240,13 +240,9 @@ globalThis.removeSlave = function(slave) { delete V.assignmentRecords[AS_ID]; } - removeSlave(INDEX); + V.slaves.deleteAt(INDEX); + V.slaveIndices = slaves2indices(); LENGTH--; V.JobIDMap = makeJobIdMap(); /* need to call this once more to update count of resting slaves*/ } - function removeSlave(index) { - const ret = V.slaves.deleteAt(index); - V.slaveIndices = slaves2indices(); - return ret; - } }; -- GitLab