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/dav/src | |
parent | 6ab9a13ad9341bcdc1f6fc0ff866e430d5ebf956 (diff) | |
download | nextcloud-server-383245ff672f843af28ff10e164e2698ffa6a9f7.tar.gz nextcloud-server-383245ff672f843af28ff10e164e2698ffa6a9f7.zip |
replace button with vue button component
Diffstat (limited to 'apps/dav/src')
-rw-r--r-- | apps/dav/src/views/Availability.vue | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/dav/src/views/Availability.vue b/apps/dav/src/views/Availability.vue index bba35f35b1f..928db771458 100644 --- a/apps/dav/src/views/Availability.vue +++ b/apps/dav/src/views/Availability.vue @@ -25,11 +25,11 @@ :l10n-friday="$t('dav', 'Friday')" :l10n-saturday="$t('dav', 'Saturday')" :l10n-sunday="$t('dav', 'Sunday')" /> - <button :disabled="loading || saving" - class="button primary" + <Button :disabled="loading || saving" + type="primary" @click="save"> {{ $t('dav', 'Save') }} - </button> + </Button> </div> </template> @@ -42,11 +42,14 @@ import { } from '../service/CalendarService' import jstz from 'jstimezonedetect' import TimezonePicker from '@nextcloud/vue/dist/Components/TimezonePicker' +import Button from '@nextcloud/vue/dist/Components/Button' + export default { name: 'Availability', components: { CalendarAvailability, TimezonePicker, + Button, }, data() { // Try to determine the current timezone, and fall back to UTC otherwise |