appbar, map dialog

This commit is contained in:
lesion
2022-11-21 13:21:32 +01:00
parent 41a1805e65
commit b598f0d105
7 changed files with 79 additions and 44 deletions

View File

@@ -14,6 +14,7 @@ v-card
:error-messages='errorMessage')
.col
v-file-input(
:prepend-icon='mdiAttachment'
v-model='file'
accept=".ics"
:label="$t('event.ics')"
@@ -22,12 +23,13 @@ v-card
v-card-actions
v-spacer
v-btn(text @click='$emit("close")' color='warning') {{$t('common.cancel')}}
v-btn(text @click='importGeneric' :loading='loading' :disabled='loading'
v-btn(outlined @click='$emit("close")' color='warning') {{$t('common.cancel')}}
v-btn(outlined @click='importGeneric' :loading='loading' :disabled='loading'
color='primary') {{$t('common.import')}}
</template>
<script>
import { mdiAttachment } from '@mdi/js'
import ical from 'ical.js'
import get from 'lodash/get'
@@ -35,6 +37,7 @@ export default {
name: 'ImportDialog',
data () {
return {
mdiAttachment,
file: null,
errorMessage: '',
error: false,