🎨 refactor: update x-show to x-if for conditionally rendering elements in Blade templates.

This commit is contained in:
fsociety
2024-10-25 11:34:25 +02:00
parent e7fbcb8c11
commit 77c4f0158e
7 changed files with 9 additions and 9 deletions

View File

@@ -72,7 +72,7 @@ $delete = function ($id) {
<x-layouts.app title="Projekt Unterstützungen">
@volt
<div class="px-4 sm:px-6 lg:px-8 py-8 w-full max-w-9xl mx-auto" x-data="nostrDefault(@this)" x-cloak
x-show="isAllowed">
x-if="isAllowed">
<!-- Page header -->
<div class="sm:flex sm:justify-between sm:items-center mb-5">