Fix #4838 when showing avatars of deleted users

This commit is contained in:
Jamie Curnow
2025-11-05 12:33:13 +10:00
parent f35671db21
commit 0ceb7d0892
8 changed files with 14 additions and 9 deletions

View File

@@ -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",