super puede eliminar notis

This commit is contained in:
Felipe
2023-11-10 15:51:48 -05:00
parent 8f92b155be
commit 236f7a2714
3 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
<p class="text-sm">
{{ $item->descripcion }}
</p>
@if (!$item->todos || Auth::user()->rol->nombre == 'administrador')
@if (!$item->todos || Auth::user()->rol->nombre == 'administrador' || Auth::user()->rol->nombre == 'super' || Auth::user()->rol->nombre == 'editor')
<span class="text-red-500 font-semibold absolute top-0 right-2 cursor-pointer select-none" wire:click="deleteNotificacion({{ $item->id }})" wire:loading.remove>
x
</span>