summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Workflow.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/src/components/Workflow.vue')
-rw-r--r--apps/workflowengine/src/components/Workflow.vue16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/workflowengine/src/components/Workflow.vue b/apps/workflowengine/src/components/Workflow.vue
index f81a53563b5..ef911554a18 100644
--- a/apps/workflowengine/src/components/Workflow.vue
+++ b/apps/workflowengine/src/components/Workflow.vue
@@ -1,6 +1,6 @@
<template>
<div id="workflowengine">
- <SettingsSection :title="t('workflowengine', 'Available flows')"
+ <NcSettingsSection :title="t('workflowengine', 'Available flows')"
:doc-url="workflowDocUrl">
<p v-if="scope === 0" class="settings-hint">
@@ -26,13 +26,13 @@
</transition-group>
<div v-if="hasMoreOperations" class="actions__more">
- <Button @click="showMoreOperations = !showMoreOperations">
+ <NcButton @click="showMoreOperations = !showMoreOperations">
<template #icon>
<MenuUp v-if="showMoreOperations" :size="20" />
<MenuDown v-else :size="20" />
</template>
{{ showMoreOperations ? t('workflowengine', 'Show less') : t('workflowengine', 'Show more') }}
- </Button>
+ </NcButton>
</div>
<h2 v-if="scope === 0" class="configured-flows">
@@ -41,7 +41,7 @@
<h2 v-else class="configured-flows">
{{ t('workflowengine', 'Your flows') }}
</h2>
- </SettingsSection>
+ </NcSettingsSection>
<transition-group v-if="rules.length > 0" name="slide">
<Rule v-for="rule in rules" :key="rule.id" :rule="rule" />
@@ -52,8 +52,8 @@
<script>
import Rule from './Rule'
import Operation from './Operation'
-import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection'
-import Button from '@nextcloud/vue/dist/Components/Button'
+import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
+import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import { mapGetters, mapState } from 'vuex'
import { generateUrl } from '@nextcloud/router'
import { loadState } from '@nextcloud/initial-state'
@@ -65,12 +65,12 @@ const ACTION_LIMIT = 3
export default {
name: 'Workflow',
components: {
- Button,
+ NcButton,
MenuDown,
MenuUp,
Operation,
Rule,
- SettingsSection,
+ NcSettingsSection,
},
data() {
return {