forked from pkp/ui-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkp/pkp-lib#7495 OPS e2e tests migration for new submission listing a…
…nd workflow side modal
- Loading branch information
1 parent
e88d2d2
commit bcafd3b
Showing
5 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
src/pages/workflow/components/action/WorkflowActionChangeDecision.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<template> | ||
<div> | ||
<PkpButton v-if="!isActionsShowed" class="" is-link @click="showActions"> | ||
{{ t('editor.submission.workflowDecision.changeDecision') }} | ||
</PkpButton> | ||
<div v-else class="flex flex-col space-y-3"> | ||
<WorkflowActionButton | ||
v-for="(actionProps, index) in actionButtonsProps" | ||
v-bind="actionProps" | ||
:key="`${index}`" | ||
/> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import {ref} from 'vue'; | ||
import PkpButton from '@/components/Button/Button.vue'; | ||
import WorkflowActionButton from '@/pages/workflow/components/action/WorkflowActionButton.vue'; | ||
defineProps({actionButtonsProps: {type: Array, required: true}}); | ||
const isActionsShowed = ref(false); | ||
function showActions() { | ||
isActionsShowed.value = true; | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters