add timezone edit to profile (#63)

This commit is contained in:
Saeed Vaziry
2023-09-30 16:15:09 +02:00
committed by GitHub
parent 38e23a1ceb
commit 8282d39722
4 changed files with 23 additions and 0 deletions

View File

@ -15,10 +15,13 @@ class UpdateProfileInformation extends Component
public string $email;
public string $timezone;
public function mount(): void
{
$this->name = auth()->user()->name;
$this->email = auth()->user()->email;
$this->timezone = auth()->user()->timezone;
}
/**