mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Rename note to memo.
This commit is contained in:
parent
8becfef6c3
commit
1ba1c44219
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -8,7 +8,7 @@ export const getPendingCreations = gql`
|
||||
lastName
|
||||
email
|
||||
amount
|
||||
note
|
||||
memo
|
||||
date
|
||||
moderator
|
||||
creation
|
||||
|
||||
@ -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
|
||||
)
|
||||
|
||||
@ -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,
|
||||
},
|
||||
|
||||
@ -33,7 +33,7 @@ export default {
|
||||
return value + ' GDD'
|
||||
},
|
||||
},
|
||||
{ key: 'note', label: 'Text' },
|
||||
{ key: 'memo', label: 'Text' },
|
||||
{
|
||||
key: 'date',
|
||||
label: 'Datum',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user