Files
mealie/frontend/src/components/UI/Confirmation.vue

37 lines
710 B
Vue
Raw Normal View History

2021-01-04 16:41:13 -09:00
<template>
<v-dialog v-model="addRecipe" width="650" @click:outside="reset">
<v-card :loading="processing">
<v-card-title class="headline"> From URL </v-card-title>
2021-01-04 16:49:03 -09:00
<v-card-text> </v-card-text>
2021-01-04 16:41:13 -09:00
<v-card-actions>
<v-spacer></v-spacer>
2021-01-04 16:49:03 -09:00
<v-btn color="primary" text @click="createRecipe"> Exit </v-btn>
<v-btn color="primary" text @click="confirm"> Confirm </v-btn>
2021-01-04 16:41:13 -09:00
</v-card-actions>
</v-card>
</v-dialog>
</template>
<script>
export default {
props: {
type: String,
},
data() {
return {};
},
methods: {
confirm() {
this.$emit("confirm");
},
2021-01-04 16:49:03 -09:00
exit() {
// do something?
}
2021-01-04 16:41:13 -09:00
},
};
</script>
<style>
</style>