Rename note to memo.

This commit is contained in:
elweyn 2021-12-01 09:43:23 +01:00
parent 8becfef6c3
commit 1ba1c44219
6 changed files with 8 additions and 8 deletions

View File

@ -157,7 +157,7 @@ export default {
data() { data() {
return { return {
radioSelected: '', radioSelected: '',
text: !this.creationUserData.note ? '' : this.creationUserData.note, text: !this.creationUserData.memo ? '' : this.creationUserData.memo,
value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000, value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000,
rangeMin: 0, rangeMin: 0,
rangeMax: 1000, rangeMax: 1000,

View File

@ -184,7 +184,7 @@ export default {
data() { data() {
return { return {
radioSelected: '', radioSelected: '',
text: !this.creationUserData.note ? '' : this.creationUserData.note, text: !this.creationUserData.memo ? '' : this.creationUserData.memo,
value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000, value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000,
rangeMin: 0, rangeMin: 0,
rangeMax: 1000, rangeMax: 1000,

View File

@ -8,7 +8,7 @@ export const getPendingCreations = gql`
lastName lastName
email email
amount amount
note memo
date date
moderator moderator
creation creation

View File

@ -1,11 +1,11 @@
import gql from 'graphql-tag' import gql from 'graphql-tag'
export const updatePendingCreation = gql` export const updatePendingCreation = gql`
query ($email: String!, $amount: Int!, $note: String!, $creationDate: String!, $moderator: Int!) { query ($email: String!, $amount: Int!, $memo: String!, $creationDate: String!, $moderator: Int!) {
updatePendingCreation( updatePendingCreation(
email: $email email: $email
amount: $amount amount: $amount
note: $note memo: $memo
creationDate: $creationDate creationDate: $creationDate
moderator: $moderator moderator: $moderator
) )

View File

@ -13,7 +13,7 @@ const apolloQueryMock = jest.fn().mockResolvedValue({
lastName: 'Bloxberg', lastName: 'Bloxberg',
email: 'bibi@bloxberg.de', email: 'bibi@bloxberg.de',
amount: 500, amount: 500,
note: 'Danke für alles', memo: 'Danke für alles',
date: new Date(), date: new Date(),
moderator: 0, moderator: 0,
}, },
@ -22,7 +22,7 @@ const apolloQueryMock = jest.fn().mockResolvedValue({
lastName: 'Hotzenplotz', lastName: 'Hotzenplotz',
email: 'raeuber@hotzenplotz.de', email: 'raeuber@hotzenplotz.de',
amount: 1000000, amount: 1000000,
note: 'Gut Ergatert', memo: 'Gut Ergatert',
date: new Date(), date: new Date(),
moderator: 0, moderator: 0,
}, },

View File

@ -33,7 +33,7 @@ export default {
return value + ' GDD' return value + ' GDD'
}, },
}, },
{ key: 'note', label: 'Text' }, { key: 'memo', label: 'Text' },
{ {
key: 'date', key: 'date',
label: 'Datum', label: 'Datum',