From df3ba179a3bce0c08dc5fa5d704d5a5bcad70e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Wed, 13 Mar 2024 14:29:07 +0800 Subject: [PATCH] cont. --- src/forge/Team/List.jsx | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/forge/Team/List.jsx b/src/forge/Team/List.jsx index 8deb66354..ee75a42bc 100644 --- a/src/forge/Team/List.jsx +++ b/src/forge/Team/List.jsx @@ -97,15 +97,21 @@ function List(props){

- {organizeDetail && organizeDetail.nickname} - {organizeDetail &&

- {enterpriseOpenInfo && <> - {!enterpriseOpenInfo.isOpen && organizeDetail.is_admin && } - {enterpriseOpenInfo.isOpen && enterpriseOpenInfo.url ? : } - - } - {organizeDetail.is_admin && } -
} + {organizeDetail && organizeDetail.nickname} + {organizeDetail && ( +
+ {!enterpriseOpenInfo.isOpen && organizeDetail.is_admin && ( + + + + )} + {enterpriseOpenInfo.isOpen && enterpriseOpenInfo.url ? ( + + ) : ( + + )} +
+ )}