From 109ec651cc2bda9421a8134c01cb3aade422a427 Mon Sep 17 00:00:00 2001
From: Michael Genson <71845777+michael-genson@users.noreply.github.com>
Date: Sat, 1 Jun 2024 16:46:31 -0500
Subject: [PATCH] fix: Broken Data Management Tabs (#3680)
---
.../components/global/BaseOverflowButton.vue | 4 ++--
frontend/pages/group/data.vue | 16 ++++++++--------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/frontend/components/global/BaseOverflowButton.vue b/frontend/components/global/BaseOverflowButton.vue
index 5204bafb855..365ab852ffc 100644
--- a/frontend/components/global/BaseOverflowButton.vue
+++ b/frontend/components/global/BaseOverflowButton.vue
@@ -38,7 +38,7 @@
{{ item.text }}
- \
+
@@ -80,7 +80,7 @@ export interface MenuItem {
value?: string;
event?: string;
divider?: boolean;
- hide?:boolean;
+ hide?: boolean;
}
export default defineComponent({
diff --git a/frontend/pages/group/data.vue b/frontend/pages/group/data.vue
index 2dfce353179..1fc1eec4025 100644
--- a/frontend/pages/group/data.vue
+++ b/frontend/pages/group/data.vue
@@ -54,44 +54,44 @@ export default defineComponent({
const DATA_TYPE_OPTIONS = computed(() => [
{
- text: i18n.t("general.recipes"),
+ text: i18n.tc("general.recipes"),
value: "new",
to: "/group/data/recipes",
},
{
- text: i18n.t("recipe.recipe-actions"),
+ text: i18n.tc("recipe.recipe-actions"),
value: "new",
to: "/group/data/recipe-actions",
divider: true,
},
{
- text: i18n.t("general.foods"),
+ text: i18n.tc("general.foods"),
value: "url",
to: "/group/data/foods",
},
{
- text: i18n.t("general.units"),
+ text: i18n.tc("general.units"),
value: "new",
to: "/group/data/units",
},
{
- text: i18n.t("data-pages.labels.labels"),
+ text: i18n.tc("data-pages.labels.labels"),
value: "new",
to: "/group/data/labels",
divider: true,
},
{
- text: i18n.t("category.categories"),
+ text: i18n.tc("category.categories"),
value: "new",
to: "/group/data/categories",
},
{
- text: i18n.t("tag.tags"),
+ text: i18n.tc("tag.tags"),
value: "new",
to: "/group/data/tags",
},
{
- text: i18n.t("tool.tools"),
+ text: i18n.tc("tool.tools"),
value: "new",
to: "/group/data/tools",
}