mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Fix empty displayname. Close #305
This commit is contained in:
parent
c430120092
commit
a0b0540767
@ -983,7 +983,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
*/
|
||||
Contact.prototype.renderListItem = function(isnew) {
|
||||
this.displayNames.fn = this.getPreferredValue('FN')
|
||||
|| this.getPreferredValue('ORG')
|
||||
|| this.getPreferredValue('ORG', []).pop()
|
||||
|| this.getPreferredValue('EMAIL')
|
||||
|| this.getPreferredValue('TEL');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user