diff options
author | bobzel <zzzman@gmail.com> | 2020-08-29 00:53:11 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-29 00:53:11 -0400 |
commit | 7b8924d203c6367edbf7e6ffbe2e8f2e6f24b859 (patch) | |
tree | 7870fa5d896c9026ad7042afc283820a0d89ff6e /src/mobile/MobileInterface.tsx | |
parent | 2d37a7f6402aca311499fb1d61b05cca2487475f (diff) |
added some link follow options to link Editor. Big overhaul of dockingView to make things undoable and cleaner
Diffstat (limited to 'src/mobile/MobileInterface.tsx')
-rw-r--r-- | src/mobile/MobileInterface.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx index 841862f49..d4eb76ecd 100644 --- a/src/mobile/MobileInterface.tsx +++ b/src/mobile/MobileInterface.tsx @@ -324,7 +324,7 @@ export class MobileInterface extends React.Component { ); } // stores dashboards documents as 'dashboards' variable - let dashboards = Cast(Doc.UserDoc().myDashboards, Doc) as Doc; + let dashboards = CurrentUserUtils.MyDashboards; if (this.dashboards) { dashboards = this.dashboards; } @@ -394,7 +394,7 @@ export class MobileInterface extends React.Component { */ @action createNewDashboard = async (id?: string) => { - const scens = Cast(Doc.UserDoc().myDashboards, Doc) as Doc; + const scens = CurrentUserUtils.MyDashboards; const dashboardCount = DocListCast(scens.data).length + 1; const freeformOptions: DocumentOptions = { x: 0, |