diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-02-21 21:34:00 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-02-21 21:34:00 -0500 |
commit | 1d13687df6acc2e575d0d8ddfbfec2b50f639dd5 (patch) | |
tree | 4db688ad32d792c849c8961ba171b18f4066ec26 | |
parent | 26e07daa8f319c79df342e1e7f5f632c5794992f (diff) |
fixed bug in dockingView and pivotView filter collection
-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 6e1d522fc..83dbb4263 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -715,7 +715,7 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { TraceMobx(); if (!this._document) return (null); const document = this._document; - const resolvedDataDoc = this._document[DataSym] !== this._document && this._document[DataSym];// document.layout instanceof Doc ? document : this._dataDoc; + const resolvedDataDoc = !Doc.AreProtosEqual(this._document[DataSym], this._document) && this._document[DataSym];// document.layout instanceof Doc ? document : this._dataDoc; return <DocumentView key={document[Id]} LibraryPath={this._libraryPath} Document={document} |