Reverted 41067b23bb because that's not needed (references #1049 and #958)

This commit is contained in:
Bernd Bestel
2020-11-17 21:10:26 +01:00
parent 7ef970a09f
commit 639ffe13f5
4 changed files with 18 additions and 25 deletions

View File

@@ -80,7 +80,6 @@
@if(file_exists(GROCY_DATAPATH . '/custom_css.html'))
@php include GROCY_DATAPATH . '/custom_css.html' @endphp
@endif
@section('DbChangedHandlingEnabledForPage', 'true')
<script>
var Grocy = { };
Grocy.Components = { };
@@ -94,7 +93,6 @@
Grocy.CalendarShowWeekNumbers = {{ BoolToString(GROCY_CALENDAR_SHOW_WEEK_OF_YEAR) }};
Grocy.GettextPo = {!! $GettextPo !!};
Grocy.FeatureFlags = {!! json_encode($featureFlags) !!};
Grocy.DbChangedHandlingEnabledForPage = @yield('DbChangedHandlingEnabledForPage');
@if (GROCY_AUTHENTICATED)
Grocy.UserSettings = {!! json_encode($userSettings) !!};