diff options
author | bob <bcz@cs.brown.edu> | 2019-10-11 10:15:53 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-10-11 10:15:53 -0400 |
commit | a5ff7c97d911ee03107b471ec882d5f8aa669f46 (patch) | |
tree | 7d81faba25f03892c2e74347bfd6c73e3d12b674 /src/server/authentication/models/current_user_utils.ts | |
parent | a73a72586c72cd620c16dd7bc0baad88c8e49a34 (diff) | |
parent | e6be0feda60963d28838d9fe7c79bf40cde6bc62 (diff) |
Merge branch 'master' into searchsidebar
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r-- | src/server/authentication/models/current_user_utils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts index 32da29932..f9e3dc479 100644 --- a/src/server/authentication/models/current_user_utils.ts +++ b/src/server/authentication/models/current_user_utils.ts @@ -46,7 +46,7 @@ export class CurrentUserUtils { // setup workspaces library item if (doc.workspaces === undefined) { - const workspaces = Docs.Create.TreeDocument([], { title: "Workspaces".toUpperCase(), height: 100 }); + const workspaces = Docs.Create.TreeDocument([], { title: "WORKSPACES", height: 100 }); workspaces.boxShadow = "0 0"; doc.workspaces = workspaces; } @@ -112,6 +112,7 @@ export class CurrentUserUtils { sidebar.xMargin = 5; sidebar.yMargin = 5; sidebar.boxShadow = "1 1 3"; + sidebar.workspaceLibrary = true; // flag that this is the document that shows the Notifications button when documents are shared doc.sidebar = sidebar; } PromiseValue(Cast(doc.sidebar, Doc)).then(sidebar => { |