Merge pull request #3123 from emanuelschuetze/issue3121
Show username if first and last name is empty (Fixed #3121)
This commit is contained in:
commit
9ced504908
@ -51,6 +51,9 @@ angular.module('OpenSlidesApp.users', [])
|
||||
} else {
|
||||
name += [firstName, lastName].join(' ');
|
||||
}
|
||||
if (name.trim() === '') {
|
||||
name = this.username;
|
||||
}
|
||||
if (title !== '') {
|
||||
name = title + ' ' + name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user