diff options
author | bobzel <zzzman@gmail.com> | 2020-08-15 16:55:54 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-15 16:55:54 -0400 |
commit | e4185e8de50d7388ace1bf6850867ad754e5feef (patch) | |
tree | 8113b35ce239d9627ce38cf662e244d6fd0aba9d /src/client/views/MainView.tsx | |
parent | e9f8804a68327c64e1ade13081cab0b3b6c0ce21 (diff) |
trying a fix to infinite loop in docking view config updating by removing fetchProto when field was already cached. Also cleared out the sidebarContent on load to prevent shared text documents from getting too tall.
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 5a9d95aac..ec43e6e1d 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -145,6 +145,7 @@ export class MainView extends React.Component { constructor(props: Readonly<{}>) { super(props); MainView.Instance = this; + this.sidebarContent.proto = undefined; this._urlState = HistoryUtil.parseUrl(window.location) || {} as any; // causes errors to be generated when modifying an observable outside of an action |