diff options
author | Vanessa Pertsch <vanessa.pertsch@posteo.de> | 2022-02-17 16:29:07 +0100 |
---|---|---|
committer | Vanessa Pertsch <vanessa.pertsch@posteo.de> | 2022-02-21 16:32:16 +0100 |
commit | 383245ff672f843af28ff10e164e2698ffa6a9f7 (patch) | |
tree | d926459c1b14b2432d8e112d7d7913afd863f063 /apps/files | |
parent | 6ab9a13ad9341bcdc1f6fc0ff866e430d5ebf956 (diff) | |
download | nextcloud-server-383245ff672f843af28ff10e164e2698ffa6a9f7.tar.gz nextcloud-server-383245ff672f843af28ff10e164e2698ffa6a9f7.zip |
replace button with vue button component
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/components/TransferOwnershipDialogue.vue | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue index 89c6e2f60e4..22e2a22b009 100644 --- a/apps/files/src/components/TransferOwnershipDialogue.vue +++ b/apps/files/src/components/TransferOwnershipDialogue.vue @@ -25,12 +25,12 @@ <form @submit.prevent="submit"> <p class="transfer-select-row"> <span>{{ readableDirectory }}</span> - <button v-if="directory === undefined" @click.prevent="start"> + <Button v-if="directory === undefined" @click.prevent="start"> {{ t('files', 'Choose file or folder to transfer') }} - </button> - <button v-else @click.prevent="start"> + </Button> + <Button v-else @click.prevent="start"> {{ t('files', 'Change') }} - </button> + </Button> <span class="error">{{ directoryPickerError }}</span> </p> <p class="new-owner-row"> @@ -72,6 +72,7 @@ import { generateOcsUrl } from '@nextcloud/router' import { getFilePickerBuilder, showSuccess } from '@nextcloud/dialogs' import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' import Vue from 'vue' +import Button from '@nextcloud/vue/dist/Components/Button' import logger from '../logger' @@ -86,6 +87,7 @@ export default { name: 'TransferOwnershipDialogue', components: { Multiselect, + Button, }, data() { return { |