Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

@@ -0,0 +1,39 @@
<?php
namespace App\Http\Livewire;
use Livewire\Component;
use WireUi\Traits\WireUiActions;
class NotifyUnauthorizedAction extends Component
{
use WireUiActions;
public function mount()
{
$this->notify();
}
public function notify()
{
// WireUI notification
$this->notification()->warning(
$title = __('Unauthorized action'),
$description = session('unauthorizedAction'),
);
}
public function dehydrate()
{
// Clear the session key after the component is rendered
session()->forget('unauthorizedAction');
}
public function render()
{
return view('livewire.notify-unauthorized-action');
}
}