#48 - user avatars using ui-avatars.com

This commit is contained in:
Adrian Hopek
2022-03-04 09:25:28 +01:00
parent 697f3395bd
commit ecae457c1f
21 changed files with 192 additions and 266 deletions

View File

@@ -18,7 +18,7 @@ class UserResource extends JsonResource
"email" => $this->email,
"role" => $this->role->label(),
"position" => $this->position,
"avatar" => asset($this->avatar),
"avatar" => $this->getAvatar(),
"deleted" => $this->trashed(),
"employmentForm" => $this->employment_form->label(),
"employmentDate" => $this->employment_date->toDisplayString(),