aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-27 19:05:23 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-27 19:05:23 -0400
commit4cab6e0d15ee27c68c358b59ecc3f7e0a89b514f (patch)
tree407790d8ad305ccb7df7a909edefc70f082bd06e /src/server/authentication/models/current_user_utils.ts
parentb15e0c88cdf9e04a0b54852db874c51878ab939b (diff)
fixed updating user doc stuff
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts
index 1693d2f48..1c52a3f11 100644
--- a/src/server/authentication/models/current_user_utils.ts
+++ b/src/server/authentication/models/current_user_utils.ts
@@ -70,10 +70,6 @@ export class CurrentUserUtils {
sidebar.boxShadow = "1 1 3";
doc.sidebar = sidebar;
}
- (Cast(doc.workspaces, Doc) as Doc).chromeStatus = "disabled";
- (Cast(doc.recentlyClosed, Doc) as Doc).chromeStatus = "disabled";
- (Cast(doc.sidebar, Doc) as Doc).chromeStatus = "disabled";
- doc.chromeStatus = "disabled";
StrCast(doc.title).indexOf("@") !== -1 && (doc.title = StrCast(doc.title).split("@")[0] + "'s Library");
}