Added trim function for get_full_name/get_short_name.
Required by submitter comparison for motion import.
This commit is contained in:
parent
e0d5f6d92f
commit
0d30c72270
@ -54,7 +54,7 @@ angular.module('OpenSlidesApp.users', [])
|
||||
if (title !== '') {
|
||||
name = title + ' ' + name;
|
||||
}
|
||||
return name;
|
||||
return name.trim();
|
||||
},
|
||||
/*
|
||||
* Returns a long form of the name.
|
||||
@ -82,7 +82,7 @@ angular.module('OpenSlidesApp.users', [])
|
||||
if (addition.length > 0) {
|
||||
name += ' (' + addition.join(' · ') + ')';
|
||||
}
|
||||
return name;
|
||||
return name.trim();
|
||||
},
|
||||
getPerms: function() {
|
||||
var allPerms = [];
|
||||
|
Loading…
Reference in New Issue
Block a user