diff options
author | bobzel <zzzman@gmail.com> | 2021-09-13 14:28:37 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-09-13 14:28:37 -0400 |
commit | e911344b7b93381c2dda4434480a6168291c60c0 (patch) | |
tree | 7f89b78061dd28b3e117fe23a463a5de8917c109 /src/client/util/CurrentUserUtils.ts | |
parent | 527b5a9dcd61f898c222eac0f2d5569bcfa35f5e (diff) |
fixed errors and warnings.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 2 |
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"]); } |