Skip to content
Snippets Groups Projects
Commit 52f6e0ab authored by Ina Martini's avatar Ina Martini
Browse files

Fix: change router push to back

parent d30daeaf
No related branches found
No related tags found
3 merge requests!66Final merge,!42Refactor interactiveSpare to modal,!4Pipeline fix
......@@ -99,7 +99,7 @@ const updateGoal = () => {
authInterceptor
.put(`/goals/${goalInstance.value.id}`, goalInstance.value)
.then(() => {
router.push({ name: 'goals' })
router.back()
})
.catch((error) => {
console.error(error)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment