Skip to content

Commit

Permalink
Merge 9d50754 into b23dd8b
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius committed May 28, 2019
2 parents b23dd8b + 9d50754 commit 793a30f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/controllers/preprints/provider/preprint-detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,6 @@ export default Controller.extend({
this.set('isWithdrawn', true);
}
this.set('authors', response.get('contributors'));
const node = yield response.get('node');
if (node && !node.get('public')) {
this.transitionToRoute('page-not-found');
return;
}
this.set('preprint', response);
let withdrawalRequest = yield this.get('preprint.requests');
withdrawalRequest = withdrawalRequest.toArray();
Expand Down

0 comments on commit 793a30f

Please sign in to comment.