From 71ed3b7e1a817da7f2aca20da678aaaa4feda3b6 Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 25 Oct 2020 19:44:06 -0400 Subject: changed title to be gray when an undo batch has not completed. useful for debugging mostly. --- src/client/views/search/SearchBox.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client/views/search') diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 6cfd1f9d0..3adeb6133 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -25,6 +25,7 @@ import { FieldView, FieldViewProps } from '../nodes/FieldView'; import "./SearchBox.scss"; import { undoBatch } from "../../util/UndoManager"; import { DocServer } from "../../DocServer"; +import { MainView } from "../MainView"; export const searchSchema = createSchema({ Document: Doc }); @@ -53,6 +54,8 @@ export class SearchBox extends ViewBoxBaseComponent(); + + @observable _undoBackground: string | undefined = ""; @observable _icons: string[] = this._allIcons; @observable _results: [Doc, string[], string[]][] = []; @observable _visibleElements: JSX.Element[] = []; @@ -498,7 +501,7 @@ export class SearchBox extends ViewBoxBaseComponent -
+
{`${Doc.CurrentUserEmail}`} -- cgit v1.2.3-70-g09d2