Skip to content

Commit

Permalink
fix: Broken Data Management Tabs (#3680)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-genson authored Jun 1, 2024
1 parent 166582a commit 109ec65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions frontend/components/global/BaseOverflowButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -80,7 +80,7 @@ export interface MenuItem {
value?: string;
event?: string;
divider?: boolean;
hide?:boolean;
hide?: boolean;
}
export default defineComponent({
Expand Down
16 changes: 8 additions & 8 deletions frontend/pages/group/data.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit 109ec65

Please sign in to comment.