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() {
return {
radioSelected: '',
text: !this.creationUserData.note ? '' : this.creationUserData.note,
text: !this.creationUserData.memo ? '' : this.creationUserData.memo,
value: !this.creationUserData.amount ? 0 : this.creationUserData.amount / 10000,
rangeMin: 0,
rangeMax: 1000,

View File

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

View File

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

View File

@ -1,11 +1,11 @@
import gql from 'graphql-tag'
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(
email: $email
amount: $amount
note: $note
memo: $memo
creationDate: $creationDate
moderator: $moderator
)

View File

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

View File

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