Skip to content

Commit

Permalink
Show a future DOI for draft records
Browse files Browse the repository at this point in the history
  • Loading branch information
hevp committed Mar 26, 2020
1 parent 92e3769 commit 22e0e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/src/components/editrecord.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ const EditRecord = React.createClass({
const text = this.state.waitingForServer ? "Updating record, please wait..." :
this.isForPublication() ? 'Save and Publish' :
this.state.dirty ? 'Save Draft' : 'The draft is up to date';
const future_doi = this.props.record.get('b2share', Map()).get('future_doi', '') || "";
const future_doi = this.props.record.get('metadata', Map()).get('$future_doi', '') || "";
return (
<div className="col-sm-offset-3 col-sm-9">
<label style={{fontSize:18, fontWeight:'normal'}}>
Expand Down

0 comments on commit 22e0e64

Please sign in to comment.