fix: Transmit confidant_email on edit

This commit is contained in:
aldrin 2021-05-18 11:06:02 +02:00
parent 6835240173
commit a8464d7536
7 changed files with 89 additions and 14 deletions

19
src/mixins.ts Normal file
View file

@ -0,0 +1,19 @@
import Component from "vue-class-component";
import Vue from "vue";
@Component
export class NotifyMixin extends Vue {
showError(): void {
this.$buefy.toast.open({
message: "Es ist leider ein Fehler aufgetreten.",
type: "is-danger",
});
}
showSuccess(message: string): void {
this.$buefy.toast.open({
message,
type: "is-success",
});
}
}