aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-07-05 16:18:25 -0400
committerbob <bcz@cs.brown.edu>2019-07-05 16:18:25 -0400
commit31f8a808640a598a923096900ceaa2cd95a30c7d (patch)
tree005f2771ddc7b36c8c383a32b2f1c9733b2d55e6 /src/server/authentication/models/current_user_utils.ts
parentfafef37e0f773f987dd5b3cf869ba1e050e31d15 (diff)
fixed dragging from sidebar
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts
index 3134ecaff..c76d2cd30 100644
--- a/src/server/authentication/models/current_user_utils.ts
+++ b/src/server/authentication/models/current_user_utils.ts
@@ -35,7 +35,7 @@ export class CurrentUserUtils {
(doc.workspaces as Doc).excludeFromLibrary = true;
(doc.workspaces as Doc).workspaceLibrary = true;
doc.recentlyClosed = Docs.TreeDocument([], { title: "Recently Closed", height: 75 });
- (doc.workspaces as Doc).excludeFromLibrary = true;
+ (doc.recentlyClosed as Doc).excludeFromLibrary = true;
doc.sidebar = Docs.StackingDocument([doc.workspaces as Doc, doc, doc.recentlyClosed as Doc], { title: "Sidebar" });
(doc.sidebar as Doc).excludeFromLibrary = true;
(doc.sidebar as Doc).gridGap = 5;