Show username if first and last name is empty (Fixed #3121)
This commit is contained in:
parent
ae098b1439
commit
19d16a1ea7
@ -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