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:
parent
fd03d468d4
commit
666085b9ca
4 changed files with 15 additions and 13 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue