Partly reverted b856911f0f

Loading localization strings async for the fronted currently doesn't work in all cases...
This commit is contained in:
Bernd Bestel
2021-07-12 21:20:39 +02:00
parent 18e8fc8293
commit 8d2c3ae584
3 changed files with 5 additions and 18 deletions

View File

@@ -94,6 +94,7 @@
Grocy.Currency = '{{ GROCY_CURRENCY }}';
Grocy.CalendarFirstDayOfWeek = '{{ GROCY_CALENDAR_FIRST_DAY_OF_WEEK }}';
Grocy.CalendarShowWeekNumbers = {{ BoolToString(GROCY_CALENDAR_SHOW_WEEK_OF_YEAR) }};
Grocy.LocalizationStrings = {!! $LocalizationStrings !!};
Grocy.FeatureFlags = {!! json_encode($featureFlags) !!};
Grocy.Webhooks = {
@if(GROCY_FEATURE_FLAG_LABELPRINTER && !GROCY_LABEL_PRINTER_RUN_SERVER)