@foreach ($addons as $addon) @php $statusState = match ($addon['status']) { 'connected' => 'online', 'connecting' => 'warning', 'error' => 'offline', default => 'neutral', }; @endphp

{{ $addon['name'] }}

@if ($addon['cloud']) {{ __('addons.cloud') }} @endif

{{ __($addon['summary_key']) }}

@if ($addon['installed']) {{ __('addons.status_'.$addon['status']) }} @endif

{{ __($addon['body_key']) }}

@if ($addon['installed'] && $addon['status_detail'])

{{ $addon['status_detail'] }}

@endif
@if (! $addon['installed']) @else {{ __('common.docs') }} {{-- to: 'addons' — Livewire names App\Livewire\Addons\Index as "addons" (the Index suffix is dropped for index components), NOT "addons.index". Verified against the rendered wire:snapshot; "addons.index" silently drops the event. Use $wire.$dispatch (Livewire), not Alpine's $dispatch, so wire-elements' modal listener receives it. --}} @endif
@endforeach