Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Apr 8, 2022
1 parent f14b80c commit 9f44094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export default {
};
},
async created() {
// TODO Figure out how to access InertiaJS route params
const match = location.pathname.match(/\/(?:nova-settings)\/?(.+)?/);
this.pageId = match[1] || 'general';
Expand Down

0 comments on commit 9f44094

Please sign in to comment.