aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Document.ts
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2019-03-11 21:25:13 -0400
committerFawn <fangrui_tong@brown.edu>2019-03-11 21:25:13 -0400
commit44d669b46616e561aef874471d2740a4f205d9f0 (patch)
tree50e1b8155f98e89b091b4fcf8643f00648f4b438 /src/fields/Document.ts
parent7f13e25550761bd174b26a64ed73374c2d5da964 (diff)
column adding works, but render doesn't get called on add
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r--src/fields/Document.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts
index 25e239417..6cf9c194e 100644
--- a/src/fields/Document.ts
+++ b/src/fields/Document.ts
@@ -38,6 +38,11 @@ export class Document extends Field {
return this.GetText(KeyStore.Title, "<untitled>");
}
+ @computed
+ public get Fields() {
+ return this.fields;
+ }
+
/**
* Get the field in the document associated with the given key. If the
* associated field has not yet been filled in from the server, a request