Skip to content

Commit

Permalink
fix: publication title not updating after amending it
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredgalanis committed Oct 19, 2023
1 parent e81c484 commit 625d9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/submissions/new/basics.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default class SubmissionsNewBasics extends Controller {

@action
async loadTab(gotoRoute) {
if (!this.doiInfo.title) set(this, 'doiInfo.title', get(this, 'publication.title'));
this.doiInfo.title = this.publication.title;

await this.submission.save();
this.transitionToRoute(gotoRoute);
Expand Down

0 comments on commit 625d9d0

Please sign in to comment.