aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-22 16:09:21 -0500
committerbobzel <zzzman@gmail.com>2021-02-22 16:09:21 -0500
commit4fcb0b69f2b96c5ace46362490d54f1059eb1339 (patch)
tree2b7f1c1b8601f627203530dd4b027c15343f2282 /src/client/util/CurrentUserUtils.ts
parent1ef89b4f56ce8567da3b632e95ea31e1c3c4386a (diff)
switched folders so that they're not marked as system anymore. made close menu appear unless something is a system doc.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 064d4b3b6..288f75592 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -548,6 +548,7 @@ export class CurrentUserUtils {
iconShape: "square",
_stayInCollection: true,
_hideContextMenu: true,
+ system: true,
dontUndo: true,
title,
target,
@@ -580,6 +581,7 @@ export class CurrentUserUtils {
btn.color = "white";
btn._backgroundColor = "";
btn.dontUndo = true;
+ btn.system = true;
if (btn.title === "Catalog" || btn.title === "My Files") { // migration from Catalog to My Files
btn.target = Doc.UserDoc().myFilesystem;
btn.title = "My Files";