fix: Transmit confidant_email on edit
This commit is contained in:
parent
6835240173
commit
a8464d7536
7 changed files with 89 additions and 14 deletions
19
src/mixins.ts
Normal file
19
src/mixins.ts
Normal 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",
|
||||
});
|
||||
}
|
||||
}
|
Reference in a new issue