Skip to content

Commit

Permalink
fix: missing recipe page title (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuchenpirat authored Oct 19, 2023
1 parent 13f0fcb commit 08b6f3b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/pages/recipe/_slug/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,12 @@ export default defineComponent({
loading,
};
},
head() {
if (this.recipe) {
return {
title: this.recipe.name
}
}
}
});
</script>

0 comments on commit 08b6f3b

Please sign in to comment.