aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-11 08:36:44 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-11 08:36:44 -0400
commit11f1fc68532bb75a231b7b697ccd6e5007a2b3f1 (patch)
tree5e8dba671f8d61ae2f3d91473d1c5def7878b51e /src/server/authentication/models/current_user_utils.ts
parent9505eda799fdf3b0cd2e6bde2d80c18731caee2c (diff)
fixed notifications bell when docs are shared.
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts3
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 f3d5555ed..e486ee727 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;
}
@@ -106,6 +106,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 => {