diff options
author | ljungster <parkerljung@gmail.com> | 2022-03-12 07:44:01 -0500 |
---|---|---|
committer | ljungster <parkerljung@gmail.com> | 2022-03-12 07:44:01 -0500 |
commit | 2c565fd81daca02cabb9598c699cedb7611c3841 (patch) | |
tree | 3601c8e3ad80c4becced111f4e8e1c6d674fce11 /src/fields/Doc.ts | |
parent | 1cf7bf9b1a18728eb07950a3f4eafa793e830834 (diff) |
attempting to add note-taking
I think this has something to do with the view not being rendered in novice mode. Assuming this is an issue in CollectionMenu.tsx.
Essentially what I did was add a note-taking view wherever I found a stacking view (via global search)
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 8a5491b4b..6b71ed24f 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -216,7 +216,7 @@ export class Doc extends RefField { return self.resolvedDataDoc && !self.isTemplateForField ? self : Doc.GetProto(Cast(Doc.Layout(self).resolvedDataDoc, Doc, null) || self); } - @computed get __LAYOUT__() { + @computed get __LAYOUT__(): any { const templateLayoutDoc = Cast(Doc.LayoutField(this[SelfProxy]), Doc, null); if (templateLayoutDoc) { let renderFieldKey: any; |