Skip to content

Commit

Permalink
test: use data instead of route for title
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Sep 9, 2024
1 parent 250c0ab commit 7c33ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/_main/_category/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div>
<DHero
variant="light"
:title="humanizeHero($route.params.category)"
:title="humanizeHero(data.title)"
:subtitle="categoryMeta.description"
>
<!-- Add a button to the Hero when index.yml includes call for action -->
Expand Down

0 comments on commit 7c33ef8

Please sign in to comment.