mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02: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') {
|
||||
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