aboutsummaryrefslogtreecommitdiff
path: root/src/client/northstar
diff options
context:
space:
mode:
authorMonika <monika_hedman@brown.edu>2019-06-21 11:37:28 -0400
committerMonika <monika_hedman@brown.edu>2019-06-21 11:37:28 -0400
commit7eb3e346c6fddc23794f3dd0c33e280c4ee7bc24 (patch)
treed6e9ecd9d02aabd5324586c027ec769b750e0b6e /src/client/northstar
parent4b8a6b7a76ccadfd39ec037e282018c7d588dea8 (diff)
parent179afa6e80631fcb8899408c3961bf1757e5b19b (diff)
pulled from master
Diffstat (limited to 'src/client/northstar')
-rw-r--r--src/client/northstar/dash-nodes/HistogramBox.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/northstar/dash-nodes/HistogramBox.tsx b/src/client/northstar/dash-nodes/HistogramBox.tsx
index ce678a9d2..a60eaea85 100644
--- a/src/client/northstar/dash-nodes/HistogramBox.tsx
+++ b/src/client/northstar/dash-nodes/HistogramBox.tsx
@@ -125,8 +125,7 @@ export class HistogramBox extends React.Component<FieldViewProps> {
let mapped = brushingDocs.map((brush, i) => {
brush.backgroundColor = StyleConstants.BRUSH_COLORS[i % StyleConstants.BRUSH_COLORS.length];
let brushed = DocListCast(brush.brushingDocs);
- if (!brushed.length)
- {return null;}
+ if (!brushed.length) return null;
return { l: brush, b: brushed[0][Id] === proto[Id] ? brushed[1] : brushed[0] };
});
runInAction(() => this.HistoOp.BrushLinks.splice(0, this.HistoOp.BrushLinks.length, ...mapped.filter(m => m) as { l: Doc, b: Doc }[]));