chore: make select date button actually a button

This commit is contained in:
kolaente 2021-12-30 16:12:44 +01:00
parent 0710cea9e5
commit 1648bcdb70
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -2,9 +2,9 @@
<div class="datepicker-with-range-container"> <div class="datepicker-with-range-container">
<popup> <popup>
<template #trigger="{toggle}"> <template #trigger="{toggle}">
<a @click.prevent.stop="toggle()"> <x-button @click.prevent.stop="toggle()" type="secondary" :shadow="false" class="mb-2">
{{ $t('task.show.select') }} {{ $t('task.show.select') }}
</a> </x-button>
</template> </template>
<template #content="{isOpen}"> <template #content="{isOpen}">
<div class="datepicker-with-range" :class="{'is-open': isOpen}"> <div class="datepicker-with-range" :class="{'is-open': isOpen}">