Skip to content

Commit

Permalink
pkp/pkp-lib#10767 Fix upload button label, and layout bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec authored and GaziYucel committed Jan 15, 2025
1 parent ba5e899 commit 6e23dc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
<template>
<div class="flex items-center gap-x-2">
<div v-if="alert">{{ alert }}</div>
<PkpButton
v-if="actionName"
class="-ms-3"
size-variant="compact"
@click="handleAction"
>
<PkpButton v-if="actionName" size-variant="compact" @click="handleAction">
{{ actionLabel }}
</PkpButton>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const WorkflowConfig = {
component: 'WorkflowActionButton',
props: {
action: FileManagerActions.FILE_UPLOAD,
label: t('dashboard.submitRevisions'),
label: t('workflow.uploadRevisions'),
actionArgs: {
submissionId: submission.id,
fileStage: pkp.const.SUBMISSION_FILE_REVIEW_REVISION,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const WorkflowConfig = {
component: 'WorkflowActionButton',
props: {
action: FileManagerActions.FILE_UPLOAD,
label: t('dashboard.submitRevisions'),
label: t('workflow.uploadRevisions'),
actionArgs: {
submissionId: submission.id,
fileStage: pkp.const.SUBMISSION_FILE_INTERNAL_REVIEW_REVISION,
Expand Down

0 comments on commit 6e23dc9

Please sign in to comment.