mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix client dropdown if only name is set
This commit is contained in:
parent
7ffbda80c5
commit
dd15832469
@ -853,7 +853,7 @@
|
|||||||
if (contact.is_primary === '1') {
|
if (contact.is_primary === '1') {
|
||||||
contact.send_invoice = true;
|
contact.send_invoice = true;
|
||||||
}
|
}
|
||||||
if (clientName != contactName) {
|
if (contactName && clientName != contactName) {
|
||||||
$clientSelect.append(new Option(contactName, client.public_id));
|
$clientSelect.append(new Option(contactName, client.public_id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user