Optimized week recipe handling in mealplan (fixes #2168)

This commit is contained in:
Bernd Bestel
2023-04-01 22:04:30 +02:00
parent cc6b01de08
commit 71d44edb8c
5 changed files with 40 additions and 11 deletions

View File

@@ -75,9 +75,10 @@
@section('content')
<script>
var fullcalendarEventSources = {!! json_encode(array($fullcalendarEventSources)) !!}
var internalRecipes = {!! json_encode($internalRecipes) !!}
var recipesResolved = {!! json_encode($recipesResolved) !!}
var fullcalendarEventSources = {!! json_encode(array($fullcalendarEventSources)) !!};
var internalRecipes = {!! json_encode($internalRecipes) !!};
var recipesResolved = {!! json_encode($recipesResolved) !!};
var weekRecipe = {!! json_encode($weekRecipe) !!};
Grocy.QuantityUnits = {!! json_encode($quantityUnits) !!};
Grocy.QuantityUnitConversionsResolved = {!! json_encode($quantityUnitConversionsResolved) !!};