From e4185e8de50d7388ace1bf6850867ad754e5feef Mon Sep 17 00:00:00 2001 From: bobzel Date: Sat, 15 Aug 2020 16:55:54 -0400 Subject: 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. --- src/client/views/MainView.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/views/MainView.tsx') 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 -- cgit v1.2.3-70-g09d2