From 2abd8f4681679e304b17a2d6041bd7c509e98c2f Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 21 May 2023 11:23:55 +0800 Subject: [PATCH] fix: show bind options only available --- web/src/components/PersonalSetting.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/web/src/components/PersonalSetting.js b/web/src/components/PersonalSetting.js index de2fd51..8453e50 100644 --- a/web/src/components/PersonalSetting.js +++ b/web/src/components/PersonalSetting.js @@ -109,13 +109,15 @@ const PersonalSetting = () => { {/**/}
账号绑定
- + {status.wechat_login && ( + + )} setShowWeChatBindModal(false)} onOpen={() => setShowWeChatBindModal(true)} @@ -145,7 +147,9 @@ const PersonalSetting = () => { - + {status.github_oauth && ( + + )}