Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Pertsch <vanessa.pertsch@posteo.de>2022-02-17 18:29:07 +0300
committerVanessa Pertsch <vanessa.pertsch@posteo.de>2022-02-21 18:32:16 +0300
commit383245ff672f843af28ff10e164e2698ffa6a9f7 (patch)
treed926459c1b14b2432d8e112d7d7913afd863f063 /apps/dav/src
parent6ab9a13ad9341bcdc1f6fc0ff866e430d5ebf956 (diff)
replace button with vue button component
Diffstat (limited to 'apps/dav/src')
-rw-r--r--apps/dav/src/views/Availability.vue9
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