diff --git a/public/globals.js b/public/globals.js index e6bc0f77b..6a685d1f3 100644 --- a/public/globals.js +++ b/public/globals.js @@ -289,6 +289,8 @@ window.pkp = { 'reviewer.submission.reviewRound.emailLog': 'Decline reason sent by email', 'reviewer.submission.reviewRound.emailLog.defaultMessage': 'No reason given to the decline of the review invitation.', + 'reviewer.submission.reviewRound.reviewNotCompleted': + 'The review was not completed.', 'reviewer.submission.reviewRound.files': 'Files For Review', 'reviewer.submission.reviewRound.files.description': 'These files were sent to you for review', diff --git a/src/pages/reviewerSubmission/ReviewerSubmissionPage.stories.js b/src/pages/reviewerSubmission/ReviewerSubmissionPage.stories.js index 0a9ae4bcb..f37282e64 100644 --- a/src/pages/reviewerSubmission/ReviewerSubmissionPage.stories.js +++ b/src/pages/reviewerSubmission/ReviewerSubmissionPage.stories.js @@ -4,7 +4,7 @@ import {http, HttpResponse} from 'msw'; import ReviewerSubmissionPage from './ReviewerSubmissionPage.vue'; import Review1Completed from './mocks/review1_completed.js'; import Review2Declined from './mocks/review2_declined.js'; -import Review3Unfinished from './mocks/review3_unfinished.js'; +import Review3Incomplete from './mocks/review3_incomplete.js'; import {allModes} from '../../../.storybook/modes.js'; @@ -68,7 +68,7 @@ export default { http.get( 'https://mock/index.php/publicknowledge/api/v1/reviews/history/16/17', async (r) => { - return HttpResponse.json(Review3Unfinished); + return HttpResponse.json(Review3Incomplete); }, ), ], @@ -108,7 +108,7 @@ export const OpenModalDeclined = { ], }; -export const OpenModalUnfinished = { +export const OpenModalIncomplete = { play: async ({canvasElement}) => { // Assigns canvas to the component root element const canvas = within(canvasElement); diff --git a/src/pages/reviewerSubmission/ReviewerSubmissionPage.vue b/src/pages/reviewerSubmission/ReviewerSubmissionPage.vue index 3e13cd9a5..cc688e5df 100644 --- a/src/pages/reviewerSubmission/ReviewerSubmissionPage.vue +++ b/src/pages/reviewerSubmission/ReviewerSubmissionPage.vue @@ -25,20 +25,10 @@
-