public function mount(): void
{
if (!isAssetManager() && !isManager()) {
abort(404);
}
//Get the user
$this->user = Filament::auth()->user();
$this->profileData = [
// 'id' => $user->id,
'Naam' => $this->user->name,
'Email' => $this->user->email,
'Telefoonnummer' => $this->user->phone_number,
// Add other properties as needed
];
$this->fillForms();
public function mount(): void
{
if (!isAssetManager() && !isManager()) {
abort(404);
}
//Get the user
$this->user = Filament::auth()->user();
$this->profileData = [
// 'id' => $user->id,
'Naam' => $this->user->name,
'Email' => $this->user->email,
'Telefoonnummer' => $this->user->phone_number,
// Add other properties as needed
];
$this->fillForms();