File tree 1 file changed +17
-0
lines changed
src/pages/workflow/components/primary
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,23 @@ const message = computed(() => {
131
131
}),
132
132
body: t (' dashboard.minimumReviewsConfirmedDecisionNeeded' ),
133
133
};
134
+ } else if (
135
+ // when reviews are completed, but its not enough reviews yet
136
+ // in this case does not make sense to indicate the 'COMPLETED' status
137
+ // agreed on indicate only number of minimum reviews
138
+ shouldMinimumReviewsBeConsidered &&
139
+ [pkp .const .REVIEW_ROUND_STATUS_REVIEWS_COMPLETED ].includes (
140
+ currentReviewRound .statusId ,
141
+ )
142
+ ) {
143
+ return {
144
+ heading: t (' notification.type.roundStatusTitle' , {
145
+ round: currentReviewRound .round ,
146
+ }),
147
+ body1: t (' dashboard.minimumConfirmedReviewsRequired' , {
148
+ number: props .contextMinReviewsPerSubmission ,
149
+ }),
150
+ };
134
151
}
135
152
136
153
return {
You can’t perform that action at this time.
0 commit comments