diff options
author | bobzel <zzzman@gmail.com> | 2020-08-03 15:56:08 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-03 15:56:08 -0400 |
commit | 55b95d6a9483911ddde9f4d4c259f380dd77a395 (patch) | |
tree | a0f8b1c4db3b06f49596a792efcc4c2cf9a41a55 /src/client/util/CurrentUserUtils.ts | |
parent | 061a5a676ad9ebd821b2ba17d28fef54d8a773d0 (diff) |
made adcanced document views a non-novice feature
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index 4b823231e..f58225b46 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -248,6 +248,8 @@ export class CurrentUserUtils { if (doc["template-buttons"] === undefined) { doc["template-buttons"] = new PrefetchProxy(Docs.Create.MasonryDocument(requiredTypes, { title: "Advanced Item Prototypes", _xMargin: 0, _showTitle: "title", + hidden: ComputedField.MakeFunction("self.target.noviceMode") as any, + target: doc, _autoHeight: true, _width: 500, _columnWidth: 35, ignoreClick: true, lockedPosition: true, _chromeStatus: "disabled", dropConverter: ScriptField.MakeScript("convertToButtons(dragData)", { dragData: DragManager.DocumentDragData.name }), })); |