mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
fix filament resource notify
This commit is contained in:
@@ -250,7 +250,7 @@ class UserProfile extends ViewRecord
|
||||
->requiresConfirmation()
|
||||
->action(function () {
|
||||
if (Auth::user()->class <= $this->record->class) {
|
||||
$this->notify('danger', 'No permission!');
|
||||
send_admin_fail_notification("No permission!");
|
||||
return;
|
||||
}
|
||||
$this->record->status = User::STATUS_CONFIRMED;
|
||||
|
||||
Reference in New Issue
Block a user