mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix client dropdown if only name is set
This commit is contained in:
parent
af516ec2d7
commit
cb6f7fc687
@ -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…
x
Reference in New Issue
Block a user