diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-03-17 21:56:41 -0400 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-03-17 21:56:41 -0400 |
commit | c4ca83acf90676abf2f822b4b0ff455fe50c0ddb (patch) | |
tree | 64f24440a4a6d58ac6998274c84a3e3b3db9234e /src/client/util/CurrentUserUtils.ts | |
parent | 9c612838c775a6fa9737963618aeebbc427e794c (diff) | |
parent | 6f4f0ffb9f4ab816cf6055c62afc6f79b8e4961f (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into filters
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index 31c70427c..88bb1207f 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -1157,8 +1157,8 @@ export class CurrentUserUtils { input.click(); } - public static snapshotDashboard = (userDoc: Doc) => { - const copy = CollectionDockingView.Copy(CurrentUserUtils.ActiveDashboard); + public static async snapshotDashboard(userDoc: Doc) { + const copy = await CollectionDockingView.Copy(CurrentUserUtils.ActiveDashboard); Doc.AddDocToList(Cast(userDoc.myDashboards, Doc, null), "data", copy); CurrentUserUtils.openDashboard(userDoc, copy); } |