This is an automated email from the ASF dual-hosted git repository.
robin0716 pushed a commit to branch feat/1.4.1/badge-style
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
The following commit(s) were added to refs/heads/feat/1.4.1/badge-style by this
push:
new eb595aad fix: fix rendering issue in badge list
eb595aad is described below
commit eb595aadcc2842e6b0c4ad102a7a930970d62ede
Author: robin <[email protected]>
AuthorDate: Thu Sep 19 12:02:37 2024 +0800
fix: fix rendering issue in badge list
---
ui/src/pages/Admin/Badges/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/pages/Admin/Badges/index.tsx
b/ui/src/pages/Admin/Badges/index.tsx
index 9a86eed9..99bafb43 100644
--- a/ui/src/pages/Admin/Badges/index.tsx
+++ b/ui/src/pages/Admin/Badges/index.tsx
@@ -102,7 +102,7 @@ const Badges: FC = () => {
</tr>
</thead>
<tbody className="align-middle">
- {data?.list.map((badge) => (
+ {data?.list?.map((badge) => (
<tr key={badge.id}>
<td className="d-flex align-items-center">
{badge.icon?.startsWith('http') ? (