diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-26 10:25:37 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-26 10:25:37 -0400 |
| commit | 022e36458815b9fd4ce79bea3ac1ae158a0c9463 (patch) | |
| tree | 75949f26f0794c3e7a062dd44cc02a1936e785b2 /src/client/util/History.ts | |
| parent | 6471ccff7dd145d3725492ccccaecc6035e851f2 (diff) | |
added dropdown dashboards input at top left + new & snapshot
Diffstat (limited to 'src/client/util/History.ts')
| -rw-r--r-- | src/client/util/History.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/History.ts b/src/client/util/History.ts index cab682ac7..cbe36b401 100644 --- a/src/client/util/History.ts +++ b/src/client/util/History.ts @@ -1,8 +1,8 @@ import { Doc } from "../../fields/Doc"; import { DocServer } from "../DocServer"; -import { MainView } from "../views/MainView"; import * as qs from 'query-string'; import { Utils, OmitKeys } from "../../Utils"; +import { CurrentUserUtils } from "./CurrentUserUtils"; export namespace HistoryUtil { export interface DocInitializerList { @@ -197,7 +197,7 @@ export namespace HistoryUtil { await Promise.all(Object.keys(init).map(id => initDoc(id, init[id]))); } if (field instanceof Doc) { - MainView.Instance.openDashboard(field, true); + CurrentUserUtils.openDashboard(Doc.UserDoc(), field, true); } } |
