aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-05-19 20:31:08 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-05-19 20:31:08 -0400
commitfa602aa4dec7b39b48779ffe907229db4d9f6264 (patch)
tree0fc72ba47e13dca1cd4ba03f82f2b41ed82edfd4 /src/client/views/MainView.tsx
parentb789ac4cc3fe013139825f811d7574e1d305c2cc (diff)
parentc103acbe8f8df919e87f9a18872a94eb8bc1a001 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index cdb105e21..400562f12 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -47,7 +47,7 @@ export class MainView extends React.Component {
private set mainContainer(doc: Opt<Doc>) {
if (doc) {
if (!("presentationView" in doc)) {
- doc.presentationView = new Doc();
+ doc.presentationView = Docs.TreeDocument([], { title: "Presentation" });
}
CurrentUserUtils.UserDocument.activeWorkspace = doc;
}