diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-19 19:55:26 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-19 19:55:26 -0400 |
commit | c103acbe8f8df919e87f9a18872a94eb8bc1a001 (patch) | |
tree | 8378a3f16ae79cd6f4a9c736eadef4dd2cbbdb7d /src/client/views/MainView.tsx | |
parent | f53ba030a86bf3fc384ff3c00efcf3c1f0497b9b (diff) |
fixed some small things with presentation and icon
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 2 |
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; } |