mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-06 02:15:15 +00:00
Fix #4838 when showing avatars of deleted users
This commit is contained in:
@@ -18,7 +18,7 @@ export default function Table({ data, isFetching, onSelectItem }: Props) {
|
||||
id: "user.avatar",
|
||||
cell: (info: any) => {
|
||||
const value = info.getValue();
|
||||
return <GravatarFormatter url={value.avatar} name={value.name} />;
|
||||
return <GravatarFormatter url={value ? value.avatar : ""} name={value ? value.name : ""} />;
|
||||
},
|
||||
meta: {
|
||||
className: "w-1",
|
||||
|
||||
Reference in New Issue
Block a user