This commit is contained in:
2025-10-27 18:02:45 +05:00
parent a96f4fc8c8
commit 918663c758
5 changed files with 26 additions and 14 deletions

View File

@@ -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