Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.

Merge MM-322/MM-389 #162

Merged
merged 3 commits into from
Sep 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions app/components/Publication/transferTitleModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ export default class TransferTitleModal extends React.Component {
toPublisher: this.state.prefixSelection,
email: this.state.publisherSelection.email,
ownerPrefix: this.props.ownerPrefix,
doi: this.props.pubDoi}).catch(e=>{
this.close()
doi: this.props.pubDoi}).then(()=>{
this.props.reduxDeletePublication(this.props.pubDoi)}
).catch(e=>{
this.props.close()
return errorHandler(`Error transfering title ${e.toString()}`, e)
})
this.props.reduxDeletePublication(this.props.pubDoi)
}

this.props.reduxControlModal({
Expand Down
7 changes: 6 additions & 1 deletion deployConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ var presets = {

staging: {
baseUrl: '/mmstaging/',
apiBaseUrl: 'https://apps.crossref.org/mdt-staging',
apiBaseUrl: 'https://apps-staging.crossref.org/mdt',
babelConfig: babelDev
},
develop: {
baseUrl: '/mmstaging/',
apiBaseUrl: 'http://localhost:8080/mdt-staging',
babelConfig: babelDev
}
}
Expand Down