1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Fix client dropdown if only name is set

This commit is contained in:
Hillel Coren 2017-02-28 20:48:28 +02:00
parent af516ec2d7
commit cb6f7fc687

View File

@ -853,7 +853,7 @@
if (contact.is_primary === '1') {
contact.send_invoice = true;
}
if (clientName != contactName) {
if (contactName && clientName != contactName) {
$clientSelect.append(new Option(contactName, client.public_id));
}
}