mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-30 09:57:51 +01:00
Fix #4838 when showing avatars of deleted users
This commit is contained in:
8 files changed
+14
-9
No files matched your search
@@ -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