I’ve found myself reaching for something along the lines of:
@if(Auth::user()->canClick)
<h1 wire:click="$toggle('show')">
@else
<h1>
@endif
Any thoughts on inline conditionals?
I’ve found myself reaching for something along the lines of:
@if(Auth::user()->canClick)
<h1 wire:click="$toggle('show')">
@else
<h1>
@endif
Any thoughts on inline conditionals?