mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-16 12:53:12 -05:00
committed by
GitHub
parent
5aafb56c4f
commit
904e6b7d82
@@ -371,7 +371,7 @@ export default defineNuxtComponent({
|
||||
setup() {
|
||||
const userApi = useUserApi();
|
||||
const i18n = useI18n();
|
||||
const $auth = useMealieAuth();
|
||||
const auth = useMealieAuth();
|
||||
const tableConfig = {
|
||||
hideColumns: true,
|
||||
canExport: true,
|
||||
@@ -424,7 +424,7 @@ export default defineNuxtComponent({
|
||||
},
|
||||
];
|
||||
|
||||
const userHousehold = computed(() => $auth.user.value?.householdSlug || "");
|
||||
const userHousehold = computed(() => auth.user.value?.householdSlug || "");
|
||||
const foodStore = useFoodStore();
|
||||
const foods = computed(() => foodStore.store.value.map((food) => {
|
||||
const onHand = food.householdsWithIngredientFood?.includes(userHousehold.value) || false;
|
||||
|
||||
Reference in New Issue
Block a user