No drawer menu items configured
@foreach($drawer_items as $index => $item)
@php
$isHome = isset($item['is_home']) && $item['is_home'];
@endphp
@if($isHome)
Home Item - Synced to Main URL
@endif
@error('drawer_items.' . $index . '.label')
{{ $message }}
@enderror
@if(!$isHome)
@endif
@if($isHome)
{{ $app->androidWebViewConfig->url }}
Automatically synced from General Settings
@else
@php
$actionType = $item['action_type'] ?? 'internal';
$showValue = !in_array($actionType, ['share']);
@endphp
@if($showValue)
@if($actionType === 'hosted_page')
@else
@endif
@error('drawer_items.' . $index . '.value')
{{ $message }}
@enderror
@endif
@endif
@endforeach
@php
$regularDrawerCount = count(array_filter($drawer_items, fn($item) => !isset($item['is_home']) || !$item['is_home']));
@endphp
@if($regularDrawerCount >= 9)
Maximum of 9 additional items reached (10 total including home item)
@endif