From 7ac9457d314f848fa5770ffc0c20ff49cd9e74b8 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Wed, 5 Feb 2020 15:52:42 -0500 Subject: [PATCH] Slave record display fix --- src/js/slaveListing.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index a949912d9a7..9e4831b45cd 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -301,6 +301,9 @@ App.UI.SlaveList.render = function() { } } assignment.innerText += "."; + if (V.assignmentRecords[slave.ID]) { + assignment.innerText += ` Last assigned to ${V.assignmentRecords[slave.ID]}.`; + } res.appendChild(assignment); res.appendChild(document.createTextNode(' ')); -- GitLab