diff options
author | bob <bcz@cs.brown.edu> | 2019-04-16 11:00:55 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-16 11:00:55 -0400 |
commit | bb935a1af68c3684640cf93e04b55324142b05ea (patch) | |
tree | 571369e8b17af15e231e1c22f08d05597ae2e815 /src/client/views/collections/CollectionDockingView.tsx | |
parent | b7a766aa5d53686e032b34d7213ad543108f12c3 (diff) | |
parent | 5acba4487b3cb66d194e7e3c4c06c5ed8e2c04b4 (diff) |
Merge branch 'master' into richTextEditor
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 2b96e7678..4ea21b2f5 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -263,7 +263,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp let counter: any = this.htmlToElement(`<div class="messageCounter">${count}</div>`); tab.element.append(counter); counter.DashDocId = tab.contentItem.config.props.documentId; - (tab as any).reactionDisposer = reaction(() => [f.GetT(KeyStore.LinkedFromDocs, ListField), f.GetT(KeyStore.LinkedToDocs, ListField)], + tab.reactionDisposer = reaction(() => [f.GetT(KeyStore.LinkedFromDocs, ListField), f.GetT(KeyStore.LinkedToDocs, ListField)], (lists) => { let count = (lists.length > 0 && lists[0] && lists[0]!.Data ? lists[0]!.Data.length : 0) + (lists.length > 1 && lists[1] && lists[1]!.Data ? lists[1]!.Data.length : 0); |