Fix for client's without names
This commit is contained in:
parent
909a5801d6
commit
49d648d6ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue