Skip to content

Commit

Permalink
Fix slice display when client entry is present, but empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 21, 2013
1 parent 8f8db0a commit 2dc907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hermes/js/hermes.js
Expand Up @@ -1799,7 +1799,7 @@ HermesCore = {
d = this.parseDate(slice.d);
cell = row.down().update(' ');
cell = cell.next().update(d.toString(Hermes.conf.date_format));
if (!slice.cn) {
if (!slice.cn || slice.cn[Hermes.conf.client_name_field].length == 0) {
cell = cell.next().update(' ');
} else {
cell = cell.next().update(slice.cn[Hermes.conf.client_name_field]);
Expand Down

0 comments on commit 2dc907c

Please sign in to comment.