From 8c7c4870b7a193a1d427d436d803fc4181cf9e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Thu, 28 Nov 2024 13:21:25 +0100 Subject: [PATCH] pkp/pkp-lib#10599 Add createnew internal round action --- .../workflowConfigEditorialOMP.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js index 3582047b..185ea4d7 100644 --- a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js +++ b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js @@ -286,6 +286,22 @@ export const WorkflowConfig = { isDecisionAvailable(submission, pkp.const.DECISION_ACCEPT_INTERNAL), ); + addItemIf( + items, + { + component: 'WorkflowActionButton', + props: { + label: t('editor.submission.createNewRound'), + action: DecisionActions.DECISION_NEW_INTERNAL_ROUND, + actionArgs, + }, + }, + isDecisionAvailable( + submission, + pkp.const.DECISION_NEW_INTERNAL_ROUND, + ), + ); + addItemIf( items, {