@if(isset($link) && $link) @php $ttLink = route('telescope-toolbar.show', ['token' => $token, 'tab' => $name]); if ($link === true) { $link = $ttLink; } elseif (\Illuminate\Support\Str::startsWith($link, '#')) { $link = $ttLink . $link; } @endphp @endif
{{ $icon ?? '' }}
@if(isset($link) && $link)
@endif
{{ $text ?? '' }}