diff --git a/admin/src/components/ContributionLink/ContributionLinkForm.spec.js b/admin/src/components/ContributionLink/ContributionLinkForm.spec.js index 93f39a3fd..82e844686 100644 --- a/admin/src/components/ContributionLink/ContributionLinkForm.spec.js +++ b/admin/src/components/ContributionLink/ContributionLinkForm.spec.js @@ -50,7 +50,6 @@ describe('ContributionLinkForm', () => { validTo: 'validTo', cycle: 'ONCE', maxPerCycle: 1, - maxAmountPerMonth: 100, }, }) wrapper.vm.onReset() @@ -59,7 +58,6 @@ describe('ContributionLinkForm', () => { amount: null, cycle: 'ONCE', validTo: null, - maxAmountPerMonth: '0', memo: null, name: null, maxPerCycle: 1, @@ -108,7 +106,6 @@ describe('ContributionLinkForm', () => { memo: 'test memo', cycle: 'ONCE', maxPerCycle: 1, - maxAmountPerMonth: '0', id: null, }, }) diff --git a/admin/src/components/ContributionLink/ContributionLinkForm.vue b/admin/src/components/ContributionLink/ContributionLinkForm.vue index f8e3d0f1f..8b2db24fc 100644 --- a/admin/src/components/ContributionLink/ContributionLinkForm.vue +++ b/admin/src/components/ContributionLink/ContributionLinkForm.vue @@ -144,7 +144,7 @@ export default { validTo: null, cycle: 'ONCE', maxPerCycle: 1, - maxAmountPerMonth: '0', + // maxAmountPerMonth: '0', }, min: new Date(), cycle: [ diff --git a/admin/src/graphql/createContributionLink.js b/admin/src/graphql/createContributionLink.js index fb6728243..47b522aba 100644 --- a/admin/src/graphql/createContributionLink.js +++ b/admin/src/graphql/createContributionLink.js @@ -9,7 +9,6 @@ export const createContributionLink = gql` $memo: String! $cycle: String! $maxPerCycle: Int! = 1 - $maxAmountPerMonth: Decimal ) { createContributionLink( validFrom: $validFrom @@ -19,7 +18,6 @@ export const createContributionLink = gql` memo: $memo cycle: $cycle maxPerCycle: $maxPerCycle - maxAmountPerMonth: $maxAmountPerMonth ) { link } diff --git a/admin/src/graphql/updateContributionLink.js b/admin/src/graphql/updateContributionLink.js index 24824bd86..21cfd7f45 100644 --- a/admin/src/graphql/updateContributionLink.js +++ b/admin/src/graphql/updateContributionLink.js @@ -8,7 +8,6 @@ export const updateContributionLink = gql` $cycle: String! $validFrom: String $validTo: String - $maxAmountPerMonth: Decimal $maxPerCycle: Int! = 1 $id: Int! ) { @@ -19,7 +18,6 @@ export const updateContributionLink = gql` cycle: $cycle validFrom: $validFrom validTo: $validTo - maxAmountPerMonth: $maxAmountPerMonth maxPerCycle: $maxPerCycle id: $id ) { @@ -32,7 +30,6 @@ export const updateContributionLink = gql` createdAt validFrom validTo - maxAmountPerMonth cycle maxPerCycle }