mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
fix: Broken Data Management Tabs (#3680)
This commit is contained in:
parent
166582acf4
commit
109ec651cc
2 changed files with 10 additions and 10 deletions
|
@ -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({
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue