mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix for client's without names
This commit is contained in:
parent
909a5801d6
commit
49d648d6ef
@ -844,6 +844,7 @@
|
||||
// create client dictionary
|
||||
for (var i=0; i<clients.length; i++) {
|
||||
var client = clients[i];
|
||||
clientMap[client.public_id] = client;
|
||||
var clientName = getClientDisplayName(client);
|
||||
if (!clientName) {
|
||||
continue;
|
||||
@ -858,7 +859,6 @@
|
||||
$clientSelect.append(new Option(contactName, client.public_id));
|
||||
}
|
||||
}
|
||||
clientMap[client.public_id] = client;
|
||||
$clientSelect.append(new Option(clientName, client.public_id));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user