Skip to content

Commit

Permalink
pkp#2708 Use stage ID constants in SubmissionsListItem
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Aug 22, 2017
1 parent 69e7ab6 commit b36fe4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/controllers/list/submissions/SubmissionsListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default {
* @return bool
*/
isReviewStage: function() {
return this.activeStage.id === 2 || this.activeStage.id === 3;
return this.activeStage.id === pkp.const.WORKFLOW_STAGE_ID_INTERNAL_REVIEW || this.activeStage.id === pkp.const.WORKFLOW_STAGE_ID_EXTERNAL_REVIEW;
},
/**
Expand Down

0 comments on commit b36fe4d

Please sign in to comment.