mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	fix: JSON Editor Breaks On Invalid JSON (#5814)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
		| @@ -81,7 +81,7 @@ | ||||
|       </v-card> | ||||
|       <WakelockSwitch /> | ||||
|       <RecipePageComments | ||||
|         v-if="!recipe.settings.disableComments && !isEditForm && !isCookMode" | ||||
|         v-if="!recipe.settings?.disableComments && !isEditForm && !isCookMode" | ||||
|         v-model="recipe" | ||||
|         class="px-1 my-4 d-print-none" | ||||
|       /> | ||||
| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user