File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
resources/views/components/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33@if ($permission )
44 @if ($logged_in_user -> can ($permission ) )
55 @if (! $hide )
6- <a {{ $attributes -> merge ([' href' => ' #' , ' class' => $active ]) } } >@if ($icon )<i class =" {{ $icon } }" ></i > @endif {{ $text } } </a >
6+ <a {{ $attributes -> merge ([' href' => ' #' , ' class' => $active ]) } } >@if ($icon )<i class =" {{ $icon } }" ></i > @endif {{ strlen ( $text ) ? $text : $slot } } </a >
77 @endif
88 @endif
99@else
1010 @if (! $hide )
11- <a {{ $attributes -> merge ([' href' => ' #' , ' class' => $active ]) } } >@if ($icon )<i class =" {{ $icon } }" ></i > @endif {{ $text } } </a >
11+ <a {{ $attributes -> merge ([' href' => ' #' , ' class' => $active ]) } } >@if ($icon )<i class =" {{ $icon } }" ></i > @endif {{ strlen ( $text ) ? $text : $slot } } </a >
1212 @endif
1313@endif
You can’t perform that action at this time.
0 commit comments