F
Filamentβ€’2y ago
AlexAnder

Disable avatar

Disable avatar for the local intranet app, without outside network.
11 Replies
toeknee
toekneeβ€’2y ago
Filament
Users - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
Dennis Koch
Dennis Kochβ€’2y ago
I don't think you can disable the Avatar. It's the trigger for the Dropdown menu is
ZedoX
ZedoXβ€’2y ago
I think he just wants to avoid the call to "ui-avatars.com", to fetch the avatar
Dennis Koch
Dennis Kochβ€’2y ago
Makes sense. Would have helped if there was an actual question πŸ€·πŸΌβ€β™‚οΈ
toeknee
toekneeβ€’2y ago
That's true but was my assumption too
wyChoong
wyChoongβ€’2y ago
Maybe just return a β€˜#’ ?
AlexAnder
AlexAnderOPβ€’2y ago
You are making good product. Thanks to You all, filament team. Yes, I won't to avoid the call to outside. I have the solution, overriding the user-avatar component, but it's not the right way to do this. Maybe You can in future make the option to configure than in config file..
toeknee
toekneeβ€’2y ago
Did you see the shared link? If yo0u don't want the outside call just set the $this->avatar_url; to a local url for a user image
AlexAnder
AlexAnderOPβ€’2y ago
Thanks. I see. I will make local svg and point to it.
toeknee
toekneeβ€’2y ago
No problem!
AlexAnder
AlexAnderOPβ€’2y ago
At the end I installed ui-avatars github repo and provided the same functionality as ui-avatars.com
Want results from more Discord servers?
Add your server