aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-13 14:28:37 -0400
committerbobzel <zzzman@gmail.com>2021-09-13 14:28:37 -0400
commite911344b7b93381c2dda4434480a6168291c60c0 (patch)
tree7f89b78061dd28b3e117fe23a463a5de8917c109 /src/client/util/CurrentUserUtils.ts
parent527b5a9dcd61f898c222eac0f2d5569bcfa35f5e (diff)
fixed errors and warnings.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 9a5ccffa0..6a7523d5b 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -863,7 +863,7 @@ export class CurrentUserUtils {
_lockedPosition: true, boxShadow: "0 0", childDontRegisterViews: true, targetDropAction: "proto", system: true,
explainer: "This is your file manager where you can create folders to keep track of documents independently of your dashboard."
}));
- (doc.myFilesystem as any as Doc).contextMenuScripts = new List<ScriptField>([newFolder!]);
+ (doc.myFilesystem as any as Doc).contextMenuScripts = new List<ScriptField>([newFolder]);
(doc.myFilesystem as any as Doc).contextMenuLabels = new List<string>(["Create new folder"]);
(doc.myFilesystem as any as Doc).childContextMenuIcons = new List<string>(["plus"]);
}