bug fixes, vyskakovacie okno v kalendari

This commit is contained in:
romankko2 committed 2023-06-08 17:29:55 +02:00
1 parent 955fdaf087
commit b5cc4bb977
10 files changed
+77 -11

No files matched your search

@@ -0,0 +1,47 @@
<template>
<v-dialog v-model="visible" max-width="750">
<v-card>
<div class="d-flex justify-space-between align-center">
<h1>
Vytvoriť
</h1>
<v-icon @click.stop="closeModal()" icon="mdi-close" size="large"></v-icon>
</div>
<v-card-actions class="mt-10 d-flex justify-start align-center">
<v-btn class="button primary half outline" @click.stop="createTeam()">TÍM</v-btn>
<v-btn class="button primary half outline" @click.stop="createBlocker()">BLOCKER</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</template>
<script>
export default {
emits: ['update'],
data() {
return {
visible: false
}
},
methods: {
async showModal() {
this.visible = true
},
closeModal() {
this.visible = false
},
createTeam() {
this.$events.emit('show-team-modal', {})
},
createBlocker() {
this.$events.emit('show-blocker-modal', {})
}
}
}
</script>