mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update admin/src/components/ContributionLink/ContributionLinkForm.vue
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
60b3b8bbcc
commit
7f090acdb5
@ -165,17 +165,8 @@ export default {
|
|||||||
return this.toastError(this.$t('contributionLink.noStartDate'))
|
return this.toastError(this.$t('contributionLink.noStartDate'))
|
||||||
if (this.form.validTo === null) return this.toastError(this.$t('contributionLink.noEndDate'))
|
if (this.form.validTo === null) return this.toastError(this.$t('contributionLink.noEndDate'))
|
||||||
|
|
||||||
const { validFrom, validTo, name, amount, memo, cycle, maxPerCycle, maxAmountPerMonth } =
|
|
||||||
this.form
|
|
||||||
const variables = {
|
const variables = {
|
||||||
validFrom,
|
...this.form,
|
||||||
validTo,
|
|
||||||
name,
|
|
||||||
amount,
|
|
||||||
memo,
|
|
||||||
cycle,
|
|
||||||
maxPerCycle,
|
|
||||||
maxAmountPerMonth,
|
|
||||||
id: this.contributionLinkData.id ? this.contributionLinkData.id : null,
|
id: this.contributionLinkData.id ? this.contributionLinkData.id : null,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user