diff --git a/frontend/src/components/GddSend/TransactionForm.vue b/frontend/src/components/GddSend/TransactionForm.vue index b560e0767..51e5c5ece 100644 --- a/frontend/src/components/GddSend/TransactionForm.vue +++ b/frontend/src/components/GddSend/TransactionForm.vue @@ -50,7 +50,7 @@ -
+
+
+ + {{ $t('form.recipient') }} + + + {{ gradidoID }} + +
-
+
{{ itemText }} @@ -36,7 +36,8 @@ export default { methods: { tunnelEmail() { this.$emit('set-tunneled-email', this.linkedUser.email) - if (this.$router.history.current.fullPath !== '/send') this.$router.push({ path: '/send' }) + if (this.$router.history.current.fullPath !== '/send') + this.$router.push({ path: '/send', query: { gradidoID: this.linkedUser.gradidoID } }) }, }, computed: { diff --git a/frontend/src/graphql/mutations.js b/frontend/src/graphql/mutations.js index 55858b09b..0f173d3b9 100644 --- a/frontend/src/graphql/mutations.js +++ b/frontend/src/graphql/mutations.js @@ -144,6 +144,7 @@ export const createContributionMessage = gql` export const login = gql` mutation($email: String!, $password: String!, $publisherId: Int) { login(email: $email, password: $password, publisherId: $publisherId) { + gradidoID email firstName lastName diff --git a/frontend/src/graphql/queries.js b/frontend/src/graphql/queries.js index 7193eded0..45f360610 100644 --- a/frontend/src/graphql/queries.js +++ b/frontend/src/graphql/queries.js @@ -38,6 +38,7 @@ export const transactionsQuery = gql` linkedUser { firstName lastName + gradidoID email } decay {