diff options
author | bobzel <zzzman@gmail.com> | 2020-09-02 20:07:09 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-02 20:07:09 -0400 |
commit | ea5bb0221411596461ae7206b6901ccbb79a1c2f (patch) | |
tree | 1d9a550a0ff5b0149f1301b8ce5b3ac0eca2cb97 /src/client/views/MainView.tsx | |
parent | a7975e6f18b0d837403ced65ee5979b60b43f5bc (diff) |
fixes to sidebar filter. still need some more work.
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index e6e80d9fb..a87a07b62 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -83,6 +83,7 @@ export class MainView extends React.Component { componentDidMount() { new InkStrokeProperties(); + this._sidebarContent.proto = undefined; DocServer.setPlaygroundFields(["dataTransition", "_viewTransition", "_panX", "_panY", "_viewScale", "_viewType", "_chromeStatus"]); // can play with these fields on someone else's DocServer.GetRefField("rtfProto").then(proto => (proto instanceof Doc) && reaction(() => StrCast(proto.BROADCAST_MESSAGE), msg => msg && alert(msg))); @@ -527,7 +528,7 @@ export class MainView extends React.Component { TraceMobx(); return <div className="mainView-searchPanel"> <SearchBox Document={CurrentUserUtils.MySearchPanelDoc} - DataDoc={undefined} + DataDoc={CurrentUserUtils.MySearchPanelDoc} fieldKey="data" dropAction="move" isSelected={returnTrue} |