Skip to content

Commit

Permalink
Merge pull request #1265 from GlobalNOC/#1264_user_undefined_when_rem…
Browse files Browse the repository at this point in the history
…oving_from_workgroup

#1264 Fixed undefined last_name when removing an user from workgroup
  • Loading branch information
jonstout authored Jun 14, 2021
2 parents 702239f + 6f4a3a2 commit cbeed50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/www/js_templates/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ function setup_workgroup_tab(){
var rec = this.getRecord(oArgs.target);

var user_id = rec.getData('user_id');
var user = rec.getData('first_name') + " " + rec.getData('family_name');
var user = rec.getData('first_name') + " " + rec.getData('last_name');

if (col.label != "Remove"){
return;
Expand Down

0 comments on commit cbeed50

Please sign in to comment.