This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 168715c8095d24ee288807e6ddd98382f4dfa191
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') ? (

Reply via email to