aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-02-22 21:26:10 -0500
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-02-22 21:26:10 -0500
commit3f954b00b8624861386b23bdb75291bd6a260de8 (patch)
tree7bb4674cb48dc02dde800b5ed7edc5658ba53ab4 /src/client/util/CurrentUserUtils.ts
parent0381050cab3cbcf6f1c3552fa86cace3a1654a07 (diff)
parentf22163e9e4118df3faf06afc28045b84615fba0d (diff)
merging
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 ae22320f3..dd27f2dab 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";