diff options
author | tschicke-brown <tyler_schicke@brown.edu> | 2019-07-27 16:51:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 16:51:33 -0400 |
commit | 606e87ccd9c06c83114d5962382cd76def86f103 (patch) | |
tree | 6c8664d63b5de28752ec72162331187ba803f910 /src/client/views/DocumentDecorations.tsx | |
parent | 6c94ca5149c5d1c4b4bd90b1326560565df8117f (diff) | |
parent | fd22f29e70e542b834884b01aac101190eb8c355 (diff) |
Merge pull request #214 from browngraphicslab/title_claire
title will not change after being given a custom title
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 751b64c35..ee16938ff 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -97,6 +97,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> } else { if (SelectionManager.SelectedDocuments().length > 0) { + SelectionManager.SelectedDocuments()[0].props.Document.customTitle = true; let field = SelectionManager.SelectedDocuments()[0].props.Document[this._fieldKey]; if (typeof field === "number") { SelectionManager.SelectedDocuments().forEach(d => { |