We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e9245 commit 24041f3Copy full SHA for 24041f3
src/composables/useSubmission.js
@@ -263,7 +263,14 @@ export function useSubmission() {
263
case pkp.const.WORKFLOW_STAGE_ID_EXTERNAL_REVIEW:
264
return ExtendedStages.EXTERNAL_REVIEW;
265
case pkp.const.WORKFLOW_STAGE_ID_EDITING:
266
- return ExtendedStages.EDITING;
+ switch (submission.status) {
267
+ case pkp.const.STATUS_SCHEDULED:
268
+ return ExtendedStages.PRODUCTION_SCHEDULED;
269
+ case pkp.const.STATUS_PUBLISHED:
270
+ return ExtendedStages.PRODUCTION_PUBLISHED;
271
+ default:
272
+ return ExtendedStages.EDITING;
273
+ }
274
case pkp.const.WORKFLOW_STAGE_ID_PRODUCTION:
275
switch (submission.status) {
276
case pkp.const.STATUS_QUEUED:
0 commit comments