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

fix: Broken Data Management Tabs (#3680)

This commit is contained in:
Michael Genson 2024-06-01 16:46:31 -05:00 committed by GitHub
parent 166582acf4
commit 109ec651cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 10 deletions

View file

@ -38,7 +38,7 @@
</v-list-item-icon>
<v-list-item-title>{{ item.text }}</v-list-item-title>
</v-list-item>
<v-divider v-if="item.divider" :key="`divider-${index}`" class="my-1" ></v-divider>\
<v-divider v-if="item.divider" :key="`divider-${index}`" class="my-1" ></v-divider>
</div>
</template>
</v-list-item-group>
@ -80,7 +80,7 @@ export interface MenuItem {
value?: string;
event?: string;
divider?: boolean;
hide?:boolean;
hide?: boolean;
}
export default defineComponent({

View file

@ -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",
}