diff --git a/frontend/src/components/forms/FormDialog.vue b/frontend/src/components/forms/FormDialog.vue index 0fb48ba..490aa9e 100644 --- a/frontend/src/components/forms/FormDialog.vue +++ b/frontend/src/components/forms/FormDialog.vue @@ -22,7 +22,7 @@ {{ buttonText }} - + Cancel @@ -46,7 +46,7 @@ export default { methods: { validate() { if (this.$refs.form.validate()) { - this.$parent.confirm() + this.$emit('confirm') } } }, diff --git a/frontend/src/components/forms/Login.vue b/frontend/src/components/forms/Login.vue index ec9fa24..b046de5 100644 --- a/frontend/src/components/forms/Login.vue +++ b/frontend/src/components/forms/Login.vue @@ -1,5 +1,5 @@