Skip to content

Commit

Permalink
feat: pass the route object directly
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Jul 8, 2021
1 parent a9ba5f1 commit 45c0973
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
...mapGetters('Files', ['pages']),
targetRoute() {
return { name: this.$route.name, query: this.$route.query, params: this.$route.params }
return this.$route
}
}
}
Expand Down

0 comments on commit 45c0973

Please sign in to comment.