mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-15 12:23:12 -05:00
committed by
GitHub
parent
5aafb56c4f
commit
904e6b7d82
@@ -263,7 +263,7 @@ export default defineNuxtComponent({
|
||||
},
|
||||
setup(props) {
|
||||
const api = useUserApi();
|
||||
const $auth = useMealieAuth();
|
||||
const auth = useMealieAuth();
|
||||
const { household } = useHouseholdSelf();
|
||||
const requiredRule = (value: any) => !!value || "Required.";
|
||||
|
||||
@@ -343,7 +343,7 @@ export default defineNuxtComponent({
|
||||
existing: false,
|
||||
id: 0,
|
||||
groupId: "",
|
||||
userId: $auth.user.value?.id || "",
|
||||
userId: auth.user.value?.id || "",
|
||||
});
|
||||
|
||||
const newMealDateString = computed(() => {
|
||||
@@ -375,7 +375,7 @@ export default defineNuxtComponent({
|
||||
newMeal.existing = true;
|
||||
newMeal.id = id;
|
||||
newMeal.groupId = groupId;
|
||||
newMeal.userId = userId || $auth.user.value?.id || "";
|
||||
newMeal.userId = userId || auth.user.value?.id || "";
|
||||
|
||||
state.value.dialog = true;
|
||||
dialog.note = !recipeId;
|
||||
|
||||
@@ -125,7 +125,7 @@ export default defineNuxtComponent({
|
||||
UserAvatar,
|
||||
},
|
||||
setup() {
|
||||
const $auth = useMealieAuth();
|
||||
const auth = useMealieAuth();
|
||||
const api = useUserApi();
|
||||
const i18n = useI18n();
|
||||
|
||||
@@ -169,7 +169,7 @@ export default defineNuxtComponent({
|
||||
await refreshMembers();
|
||||
});
|
||||
|
||||
return { members, headers, setPermissions, sessionUser: $auth.user };
|
||||
return { members, headers, setPermissions, sessionUser: auth.user };
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user