diff options
author | bobzel <zzzman@gmail.com> | 2020-10-20 23:36:45 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-20 23:36:45 -0400 |
commit | 6cfd2a37494bf531c88e26ea89b5b776805d31a8 (patch) | |
tree | 959777a652374f667889e90739bebf139a62adb6 /src/client/util/CurrentUserUtils.ts | |
parent | 3a369686b42710db36506e7e880d8d7fafe1cece (diff) |
fixes for overlayDocs for undo/redo in presBox - undo/redo of minimize/show sidebar.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index f43b6df44..38bfe3fb6 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -1190,6 +1190,7 @@ export class CurrentUserUtils { public static get MyRecentlyClosed() { return Cast(Doc.UserDoc().myRecentlyClosedDocs, Doc, null); } public static get MyDashboards() { return Cast(Doc.UserDoc().myDashboards, Doc, null); } public static get EmptyPane() { return Cast(Doc.UserDoc().emptyPane, Doc, null); } + public static get OverlayDocs() { return DocListCast((Doc.UserDoc().myOverlayDocs as Doc)?.data); } } Scripting.addGlobal(function openDragFactory(dragFactory: Doc) { |