1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-19 05:09:40 +02:00

Fix: Print Preferences Menu Missing (#2162)

* fixed console errors for missing recipe prop

* restored print preferences to action menu
This commit is contained in:
Michael Genson 2023-02-21 22:00:22 -06:00 committed by GitHub
parent fd03d468d4
commit 666085b9ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 13 deletions

View file

@ -48,7 +48,6 @@
<script lang="ts">
import { computed, defineComponent } from "@nuxtjs/composition-api";
import { Recipe } from "~/lib/api/types/recipe";
import { NoUndefinedField } from "~/lib/api/types/non-generated";
import { ImagePosition, useUserPrintPreferences } from "~/composables/use-users/preferences";
import RecipePrintView from "~/components/Domain/Recipe/RecipePrintView.vue";
@ -62,8 +61,8 @@ export default defineComponent({
default: false,
},
recipe: {
type: Object as () => NoUndefinedField<Recipe>,
required: true,
type: Object as () => Recipe,
default: undefined,
},
},
setup(props, context) {