From 24e31df47a0d38de8073da69cc4ea78a2e5be6cd Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Thu, 8 Oct 2020 20:08:42 -0400
Subject: added hack to save startup state. fixed runtime failure by restoring
 imports in main.tsx

---
 src/client/views/search/SearchBox.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/client/views/search/SearchBox.tsx')

diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 1104d8d2a..019c703e0 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -24,6 +24,7 @@ import { ViewBoxBaseComponent } from "../DocComponent";
 import { FieldView, FieldViewProps } from '../nodes/FieldView';
 import "./SearchBox.scss";
 import { undoBatch } from "../../util/UndoManager";
+import { DocServer } from "../../DocServer";
 
 export const searchSchema = createSchema({ Document: Doc });
 
@@ -503,7 +504,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc
                                 Logoff
                         </div>
                         </div>
-                        <div className="searchBox-lozenge">
+                        <div className="searchBox-lozenge" onClick={() => DocServer.PRINT_CACHE()}>
                             {`UI project`}
                         </div>
                         <div className="searchBox-lozenge-dashboard"  >
-- 
cgit v1.2.3-70-g09d2

