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:
parent
af516ec2d7
commit
cb6f7fc687
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user