Merge pull request #3326 from gradido/fix_admin_contribution_link

fix(admin): fix contribution link
This commit is contained in:
einhornimmond 2024-07-12 11:05:44 +02:00 committed by GitHub
commit 73d648e705
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 9 deletions

View File

@ -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,
},
})

View File

@ -144,7 +144,7 @@ export default {
validTo: null,
cycle: 'ONCE',
maxPerCycle: 1,
maxAmountPerMonth: '0',
// maxAmountPerMonth: '0',
},
min: new Date(),
cycle: [

View File

@ -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
}

View File

@ -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
}