aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-24 09:22:41 -0400
committerbob <bcz@cs.brown.edu>2019-04-24 09:22:41 -0400
commit04b177406a98a52f4f8b3f94375f94db2f46a5df (patch)
tree26ef7703f0516657a66d47f1c6eff1d23b8267e8 /src/client/views/DocumentDecorations.tsx
parent27f505949ae47c3c5f83633115b9d238936d4003 (diff)
added simple text box titling
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 95910c7be..539f19707 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -444,7 +444,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
}
getValue = (): string => {
- if (this._title === "changed" && this._documents.length > 0) {
+ if (this._documents.length > 0) {
let field = this._documents[0].props.Document.Get(this._fieldKey);
if (field instanceof TextField) {
return (field).GetValue();