Added submitObj to createPendignCreation mutation.

This commit is contained in:
elweyn 2021-12-01 09:37:56 +01:00
parent 83af3bc692
commit 8becfef6c3

View File

@ -234,6 +234,14 @@ export default {
// lösche alle Mitglieder aus der MehrfachSchöpfungsListe nach dem alle Mehrfachschpfungen zum bestätigen gesendet wurden.
this.$emit('remove-all-bookmark')
} else if (this.type === 'singleCreation') {
this.submitObj = {
email: this.item.email,
creationDate: this.radioSelected.long,
amount: Number(this.value),
memo: this.text,
moderator: Number(this.$store.state.moderator.id),
}
this.$apollo
.mutate({
mutation: createPendingCreation,