feat: "Open link in new tab" doesn't work for profile image #3018 (#3480)

### What problem does this PR solve?

feat:  "Open link in new tab" doesn't work for profile image #3018

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu 2024-11-19 11:40:59 +08:00 committed by GitHub
parent aa9a16e073
commit ed0d47fc8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,10 +59,16 @@ const RagHeader = () => {
height: '72px',
}}
>
<Space size={12} onClick={handleLogoClick} className={styles.logoWrapper}>
<img src="/logo.svg" alt="" className={styles.appIcon} />
<span className={styles.appName}>{appConf.appName}</span>
</Space>
<a href={window.location.origin}>
<Space
size={12}
onClick={handleLogoClick}
className={styles.logoWrapper}
>
<img src="/logo.svg" alt="" className={styles.appIcon} />
<span className={styles.appName}>{appConf.appName}</span>
</Space>
</a>
<Space size={[0, 8]} wrap>
<Radio.Group
defaultValue="a"