Skip to content

Commit

Permalink
Fix inverted filter for empty overlay details.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobli committed Feb 7, 2017
1 parent 75587cc commit edc5790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/waterfall/details-overlay/html-details-body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function makeDefinitionList(dlKeyValues: KvTuple[], addClass: boolean = false) {
return `class="${className || "no-colour"}"`;
};
return dlKeyValues
.filter((tuple: KvTuple) => !tuple[1])
.filter((tuple: KvTuple) => tuple[1] !== undefined)
.map((tuple) => `
<dt ${makeClass(tuple[0])}>${tuple[0]}</dt>
<dd>${tuple[1]}</dd>
Expand Down

0 comments on commit edc5790

Please sign in to comment.