This repository was archived by the owner on Aug 19, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
app/components/Publication Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,12 @@ export default class TransferTitleModal extends React.Component {
119
119
toPublisher : this . state . prefixSelection ,
120
120
email : this . state . publisherSelection . email ,
121
121
ownerPrefix : this . props . ownerPrefix ,
122
- doi : this . props . pubDoi } ) . catch ( e => {
123
- this . close ( )
122
+ doi : this . props . pubDoi } ) . then ( ( ) => {
123
+ this . props . reduxDeletePublication ( this . props . pubDoi ) }
124
+ ) . catch ( e => {
125
+ this . props . close ( )
124
126
return errorHandler ( `Error transfering title ${ e . toString ( ) } ` , e )
125
127
} )
126
- this . props . reduxDeletePublication ( this . props . pubDoi )
127
128
}
128
129
129
130
this . props . reduxControlModal ( {
Original file line number Diff line number Diff line change @@ -25,7 +25,12 @@ var presets = {
25
25
26
26
staging : {
27
27
baseUrl : '/mmstaging/' ,
28
- apiBaseUrl : 'https://apps.crossref.org/mdt-staging' ,
28
+ apiBaseUrl : 'https://apps-staging.crossref.org/mdt' ,
29
+ babelConfig : babelDev
30
+ } ,
31
+ develop : {
32
+ baseUrl : '/mmstaging/' ,
33
+ apiBaseUrl : 'http://localhost:8080/mdt-staging' ,
29
34
babelConfig : babelDev
30
35
}
31
36
}
You can’t perform that action at this time.
0 commit comments