From 80109c3104f9e4987ae3fa7a2abb9820a78ac3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Thu, 28 Aug 2025 15:22:56 +0200 Subject: [PATCH] Fix avatar images in contributor table --- scm-ui/ui-components/src/Image.tsx | 5 +++-- scm-ui/ui-components/src/repos/changesets/Contributor.tsx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scm-ui/ui-components/src/Image.tsx b/scm-ui/ui-components/src/Image.tsx index 92d63698bb..f2fb8495a4 100644 --- a/scm-ui/ui-components/src/Image.tsx +++ b/scm-ui/ui-components/src/Image.tsx @@ -22,6 +22,7 @@ type Props = { alt: string; title?: string; className?: string; + crossOrigin?: "anonymous" | ""; }; /** @@ -37,8 +38,8 @@ class Image extends React.Component { }; render() { - const { alt, title, className } = this.props; - return {alt}; + const { alt, title, className, crossOrigin } = this.props; + return {alt}; } } diff --git a/scm-ui/ui-components/src/repos/changesets/Contributor.tsx b/scm-ui/ui-components/src/repos/changesets/Contributor.tsx index 0c4008e734..9f739a5113 100644 --- a/scm-ui/ui-components/src/repos/changesets/Contributor.tsx +++ b/scm-ui/ui-components/src/repos/changesets/Contributor.tsx @@ -30,7 +30,7 @@ const Contributor: FC<{ person: Person }> = ({ person }) => { if (avatar) { prefix = ( <> - {" "} + {" "} ); }