1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-25 08:09:41 +02:00

Fix titles of category, tag, tool pages (#905)

This commit is contained in:
Philipp Fischbeck 2022-01-07 22:08:05 +01:00 committed by GitHub
parent 1482f51fcd
commit 76d2eecd86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 29 deletions

View file

@ -67,10 +67,10 @@ export default defineComponent({
state.headline = i18n.t("tag.tags") as string;
break;
case ItemTypes.category:
state.headline = i18n.t("recipe.categories") as string;
state.headline = i18n.t("category.categories") as string;
break;
case ItemTypes.tool:
state.headline = "Tools";
state.headline = i18n.t("tool.tools") as string;
state.icon = $globals.icons.potSteam;
break;
default:
@ -99,8 +99,10 @@ export default defineComponent({
itemsSorted,
};
},
head: {
title: "vbase-nuxt",
head() {
return {
title: this.headline as string,
}
},
});
</script>
</script>