chore: show update menu only if app.version is set
Some checks failed
tests / ci (push) Has been cancelled

This commit is contained in:
Benjamin Nussbaum 2026-01-23 20:14:10 +01:00
parent dfdc4e0730
commit 31ca919ba9
2 changed files with 11 additions and 7 deletions

View file

@ -8,7 +8,9 @@
<flux:navlist.item :href="route('user-password.edit')" wire:navigate>{{ __('Password') }}</flux:navlist.item>
@endif
<flux:navlist.item :href="route('settings.support')" wire:navigate>{{ __('Support') }}</flux:navlist.item>
<flux:navlist.item :href="route('settings.update')" wire:navigate>{{ __('Updates') }}</flux:navlist.item>
@if(config('app.version'))
<flux:navlist.item :href="route('settings.update')" wire:navigate>{{ __('Updates') }}</flux:navlist.item>
@endif
</flux:navlist>
</div>