FIX: whisper small actions are blank (#188)

FIX: whisper small actions are blank (#188)

assigned_group and unassigned_group has to be added to decorator to properly display whispers

diff --git a/assets/javascripts/discourse-assign/controllers/assign-user.js.es6 b/assets/javascripts/discourse-assign/controllers/assign-user.js.es6
index 8e4b46b..bf27fee 100644
--- a/assets/javascripts/discourse-assign/controllers/assign-user.js.es6
+++ b/assets/javascripts/discourse-assign/controllers/assign-user.js.es6
@@ -53,7 +53,7 @@ export default Controller.extend({
       });
     } else {
       this.setProperties({
-        "model.username": assignee.username,
+        "model.username": assignee.name,
         "model.group_name": null,
         "model.allowedGroups": this.taskActions.allowedGroups,
       });
diff --git a/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6 b/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6
index 87b8f42..0db5e1c 100644
--- a/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6
+++ b/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6
@@ -202,8 +202,9 @@ function initialize(api) {
 
   api.addPostTransformCallback((transformed) => {
     if (
-      transformed.actionCode === "assigned" ||
-      transformed.actionCode === "unassigned"
+      ["assigned", "unassigned", "assigned_group", "unassigned_group"].includes(
+        transformed.actionCode
+      )
     ) {
       transformed.isSmallAction = true;
       transformed.canEdit = false;

GitHub sha: 1306a69b063b2818cf2be557cb23cf900053f98b

This commit appears in #188 which was approved by tshenry. It was merged by lis2.