Skip to content

Commit

Permalink
fix: use async...await when parsing route
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora committed Oct 27, 2022
1 parent c8728f5 commit 9c09c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frappe/public/js/frappe/recorder/RecorderRoot.vue
Expand Up @@ -8,8 +8,8 @@
export default {
name: "RecorderRoot",
watch: {
$route() {
frappe.router.current_route = frappe.router.parse();
async $route() {
frappe.router.current_route = await frappe.router.parse();
frappe.breadcrumbs.update();
}
}
Expand Down

0 comments on commit 9c09c65

Please sign in to comment.