diff --git a/frontend/src/pages/Send.spec.js b/frontend/src/pages/Send.spec.js index 43bda6f3d..8a4c4cc79 100644 --- a/frontend/src/pages/Send.spec.js +++ b/frontend/src/pages/Send.spec.js @@ -229,7 +229,7 @@ describe('Send', () => { }) it('resets the gradido ID query in route', () => { - expect(routerPushMock).toBeCalledWith('send') + expect(routerPushMock).toBeCalledWith({ path: '/send' }) }) }) }) diff --git a/frontend/src/pages/Send.vue b/frontend/src/pages/Send.vue index 334d1062d..550c30bf3 100644 --- a/frontend/src/pages/Send.vue +++ b/frontend/src/pages/Send.vue @@ -172,7 +172,7 @@ export default { throw new Error(`undefined transactionData.selected : ${this.transactionData.selected}`) } this.loading = false - this.$router.push('send') + this.$router.push({ path: '/send' }) }, onBack() { this.currentTransactionStep = TRANSACTION_STEPS.transactionForm