diff options
| author | tschicke-brown <tyler_schicke@brown.edu> | 2019-03-18 14:07:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-18 14:07:28 -0400 |
| commit | c7dcbad453b031cf2d747cc9e2b5b28a4e2c3717 (patch) | |
| tree | f2e97e3ea38813835f28aeff189d853dfffedf60 /src/fields/Document.ts | |
| parent | 7d5bb60662dc6a879df261f9eafeda89d6574cd7 (diff) | |
| parent | 8945316b1c438da81752370acd6d86991f2056b1 (diff) | |
Merge pull request #66 from browngraphicslab/schema_columns
Schema columns
Diffstat (limited to 'src/fields/Document.ts')
| -rw-r--r-- | src/fields/Document.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts index 763b79de2..be0137128 100644 --- a/src/fields/Document.ts +++ b/src/fields/Document.ts @@ -39,6 +39,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 @@ -305,6 +310,7 @@ export class Document extends Field { throw new Error("Method not implemented."); } GetValue() { + return this.Title; var title = (this._proxies.has(KeyStore.Title.Id) ? "???" : this.Title) + "(" + this.Id + ")"; return title; //throw new Error("Method not implemented."); |
