add vue button component in workflow operation.vue

Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
pull/32362/head
Vanessa Pertsch 2 years ago
parent 32139610c5
commit d6698c160a

@ -4,11 +4,9 @@
<div class="actions__item__description">
<h3>{{ operation.name }}</h3>
<small>{{ operation.description }}</small>
<div>
<button v-if="colored">
{{ t('workflowengine', 'Add new flow') }}
</button>
</div>
<Button v-if="colored">
{{ t('workflowengine', 'Add new flow') }}
</Button>
</div>
<div class="actions__item_options">
<slot />
@ -17,8 +15,13 @@
</template>
<script>
import Button from '@nextcloud/vue/dist/Components/Button'
export default {
name: 'Operation',
components: {
Button,
},
props: {
operation: {
type: Object,

@ -24,6 +24,7 @@
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
}
.actions__item_options {
width: 100%;

Loading…
Cancel
Save