From 049a93555ea500e9a8d0b4232df425a3c1d969bd Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sun, 27 Jul 2025 01:46:19 +0000 Subject: [PATCH] make messing with recipe JSON more resilient --- frontend/components/Domain/Recipe/RecipePage/RecipePage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue b/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue index 46eda6bbc..6a1f9a3d4 100644 --- a/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue +++ b/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue @@ -81,7 +81,7 @@ @@ -278,7 +278,7 @@ async function deleteRecipe() { * View Preferences */ const landscape = computed(() => { - const preferLandscape = recipe.value.settings.landscapeView; + const preferLandscape = recipe.value.settings?.landscapeView; const smallScreen = !$vuetify.display.smAndUp.value; if (preferLandscape) {