bug fix
This commit is contained in:
@@ -18,7 +18,7 @@ use Illuminate\Contracts\View\View;
|
||||
use Joaopaulolndev\FilamentEditProfile\Concerns\HasSort;
|
||||
use Livewire\Component;
|
||||
|
||||
class UserPassportFields extends Component implements HasForms
|
||||
class UserProfileFields extends Component implements HasForms
|
||||
{
|
||||
use HasSort;
|
||||
use InteractsWithForms;
|
||||
@@ -180,15 +180,13 @@ class UserPassportFields extends Component implements HasForms
|
||||
'must_fill_profile' => false,
|
||||
]);
|
||||
|
||||
$this->dispatch('refresh-topbar');
|
||||
Notification::make()
|
||||
->success()
|
||||
->title(__('Profile updated'))
|
||||
->send();
|
||||
} catch (Halt $exception) {
|
||||
return;
|
||||
}
|
||||
|
||||
Notification::make()
|
||||
->success()
|
||||
->title(__('Profile updated'))
|
||||
->send();
|
||||
}
|
||||
|
||||
public function render(): View
|
||||
Reference in New Issue
Block a user