diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-17 22:39:12 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-17 22:39:12 -0400 |
| commit | 51601e1768647b99baa9cee3118a831da9bffc61 (patch) | |
| tree | 4b29bd0d7f0a374439ee64acf0917065afdbe6b5 /src/client/northstar/dash-nodes/HistogramBox.tsx | |
| parent | 3808258fe452be2f71354989c0281dc4549f408b (diff) | |
| parent | 80a58ec7213d3c7cd1a290a1dd291891e8333803 (diff) | |
Merge branch 'master' into richTextEditor
Diffstat (limited to 'src/client/northstar/dash-nodes/HistogramBox.tsx')
| -rw-r--r-- | src/client/northstar/dash-nodes/HistogramBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/northstar/dash-nodes/HistogramBox.tsx b/src/client/northstar/dash-nodes/HistogramBox.tsx index 3e94fed81..0e84ace50 100644 --- a/src/client/northstar/dash-nodes/HistogramBox.tsx +++ b/src/client/northstar/dash-nodes/HistogramBox.tsx @@ -118,7 +118,7 @@ export class HistogramBox extends React.Component<FieldViewProps> { this.props.Document.GetTAsync(this.props.fieldKey, HistogramField).then((histoOp: Opt<HistogramField>) => runInAction(() => { this.HistoOp = histoOp ? histoOp.Data : HistogramOperation.Empty; if (this.HistoOp !== HistogramOperation.Empty) { - reaction(() => this.props.Document.GetList(KeyStore.LinkedFromDocs, []), (docs: Document[]) => this.HistoOp.Links.splice(0, this.HistoOp.Links.length, ...docs), { fireImmediately: true }); + reaction(() => this.props.Document.GetList(KeyStore.LinkedFromDocs, [] as Document[]), (docs) => this.HistoOp.Links.splice(0, this.HistoOp.Links.length, ...docs), { fireImmediately: true }); reaction(() => this.props.Document.GetList(KeyStore.BrushingDocs, []).length, () => { let brushingDocs = this.props.Document.GetList(KeyStore.BrushingDocs, [] as Document[]); |
