From 08b6f3b70a8c5ed6f362cd906b216cdccf4b3645 Mon Sep 17 00:00:00 2001 From: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> Date: Thu, 19 Oct 2023 18:28:30 +0200 Subject: [PATCH] fix: missing recipe page title (#2662) --- frontend/pages/recipe/_slug/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/pages/recipe/_slug/index.vue b/frontend/pages/recipe/_slug/index.vue index 594a58a956be..441652ddb846 100644 --- a/frontend/pages/recipe/_slug/index.vue +++ b/frontend/pages/recipe/_slug/index.vue @@ -22,5 +22,12 @@ export default defineComponent({ loading, }; }, + head() { + if (this.recipe) { + return { + title: this.recipe.name + } + } + } });