mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-24 18:00:16 +00:00
🎨 refactor: update x-show to x-if for conditionally rendering elements in Blade templates.
This commit is contained in:
@@ -48,7 +48,7 @@ on([
|
||||
|
||||
<x-layouts.app title="{{ __('Mitglieder') }}">
|
||||
@volt
|
||||
<div class="px-4 sm:px-6 lg:px-8 py-8 w-full max-w-9xl mx-auto" x-show="isAllowed" x-data="{isAllowed: $wire.entangle('isAllowed').live}" x-cloak>
|
||||
<div class="px-4 sm:px-6 lg:px-8 py-8 w-full max-w-9xl mx-auto" x-if="isAllowed" x-data="{isAllowed: $wire.entangle('isAllowed').live}" x-cloak>
|
||||
<livewire:einundzwanzig-pleb-table/>
|
||||
</div>
|
||||
@endvolt
|
||||
|
||||
Reference in New Issue
Block a user