FIX: whisper small actions are blank (#188)
assigned_group and unassigned_group has to be added to decorator to properly display whispers
This commit is contained in:
parent
d807491df2
commit
1306a69b06
|
@ -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,
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue