From b4f3a77b017489cb3125cb62c8dae0fa7c20aa02 Mon Sep 17 00:00:00 2001 From: Finley Ge <32237950+FinleyGe@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:40:56 +0800 Subject: [PATCH] fix: bind notification account (#2297) --- projects/app/src/pages/account/components/Info.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projects/app/src/pages/account/components/Info.tsx b/projects/app/src/pages/account/components/Info.tsx index ebd1351522..7c8fbab838 100644 --- a/projects/app/src/pages/account/components/Info.tsx +++ b/projects/app/src/pages/account/components/Info.tsx @@ -273,9 +273,11 @@ const MyInfo = () => { ? { color: 'red.600' } : {})} > - {userInfo?.team.notificationAccount || userInfo?.permission.isOwner - ? t('common:user.Notification Receive Bind') - : t('user:notification.remind_owner_bind')} + {userInfo?.team.notificationAccount + ? userInfo?.team.notificationAccount + : userInfo?.permission.isOwner + ? t('common:user.Notification Receive Bind') + : t('user:notification.remind_owner_bind')} {userInfo?.permission.isOwner && (