Fixed that the meal plan menu item was not visible when the calendar was disabled (through feature flags) (closes #415)

This commit is contained in:
Bernd Bestel
2019-10-12 10:35:47 +02:00
parent 68dc1bc1f9
commit 3328c789d4
2 changed files with 5 additions and 0 deletions

View File

@@ -187,6 +187,8 @@
<span class="nav-link-text">{{ $__t('Calendar') }}</span>
</a>
</li>
@endif
@if(GROCY_FEATURE_FLAG_RECIPES)
<li class="nav-item" data-toggle="tooltip" data-placement="right" title="{{ $__t('Meal plan') }}" data-nav-for-page="mealplan">
<a class="nav-link discrete-link" href="{{ $U('/mealplan') }}">
<i class="fas fa-paper-plane"></i>