aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorgeireann <geireann.lindfield@gmail.com>2021-09-01 15:55:28 -0400
committergeireann <geireann.lindfield@gmail.com>2021-09-01 15:55:28 -0400
commit4ba82ba609d51354958e8346c65673c4cf172c52 (patch)
tree4b82f905210e6938cdf9755193da02e37b5f83c6 /src/client/views/MainView.tsx
parentef630d51e6407f303992e0672fb110a1009e5223 (diff)
making more changes
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 60016fc3d..9047951ee 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -227,8 +227,8 @@ export class MainView extends React.Component {
@action
createNewPresentation = async () => {
- if (!await this.userDoc.myTrails) {
- this.userDoc.myTrails = new PrefetchProxy(Docs.Create.TreeDocument([], {
+ if (!await this.userDoc.myPresentations) {
+ this.userDoc.myPresentations = new PrefetchProxy(Docs.Create.TreeDocument([], {
title: "PRESENTATION TRAILS", childDontRegisterViews: true, _height: 100, _forceActive: true, boxShadow: "0 0", _lockedPosition: true, treeViewOpen: true, system: true
}));
}
@@ -236,7 +236,7 @@ export class MainView extends React.Component {
{ title: "Untitled Presentation", _viewType: CollectionViewType.Stacking, _width: 400, _height: 500, targetDropAction: "alias", _chromeHidden: true, boxShadow: "0 0" });
CollectionDockingView.AddSplit(pres, "right");
this.userDoc.activePresentation = pres;
- Doc.AddDocToList(this.userDoc.myTrails as Doc, "data", pres);
+ Doc.AddDocToList(this.userDoc.myPresentations as Doc, "data", pres);
}
getPWidth = () => this._panelWidth - this.propertiesWidth();