diff options
| author | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-03-11 18:39:28 -0400 |
|---|---|---|
| committer | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-03-11 18:39:28 -0400 |
| commit | a8a6f2bb16173d4dc4b0690faf299e817c8937fa (patch) | |
| tree | 2804c322427213746b97b85ed1fca60a9ece0e86 /src/client/views/Main.tsx | |
| parent | 81c0a8373fd5cb051531762243e200f11f8c7297 (diff) | |
Stability improvements
Diffstat (limited to 'src/client/views/Main.tsx')
| -rw-r--r-- | src/client/views/Main.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index 73d5fa8a9..44fdf60ce 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -72,7 +72,7 @@ export class Main extends React.Component { @action createNewWorkspace = (init: boolean): void => { - let mainDoc = Documents.DockDocument(JSON.stringify({ content: [{ type: 'row', content: [] }] }), { title: `Main Container ${this.userWorkspaces.length}` }); + let mainDoc = Documents.DockDocument(JSON.stringify({ content: [{ type: 'row', content: [] }] }), { title: `Main Container ${this.userWorkspaces.length + 1}` }); let newId = mainDoc.Id; request.post(this.contextualize("addWorkspaceId"), { body: { target: newId }, |
