1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Invoice Create - Client shows 'null' in select2 #1550

This commit is contained in:
Hillel Coren 2017-06-26 17:31:08 +03:00
parent 01a24e03de
commit 29f52dc9b2

View File

@ -794,7 +794,7 @@
continue;
}
@endif
var clientName = client.name;
var clientName = client.name || '';
for (var j=0; j<client.contacts.length; j++) {
var contact = client.contacts[j];
var contactName = getContactDisplayNameWithEmail(contact);