balibabu
commited on
Commit
·
896abbe
1
Parent(s):
eec6cf8
feat: "Open link in new tab" doesn't work for profile image #3018 (#3480)
Browse files### 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)
web/src/layouts/components/header/index.tsx
CHANGED
@@ -59,10 +59,16 @@ const RagHeader = () => {
|
|
59 |
height: '72px',
|
60 |
}}
|
61 |
>
|
62 |
-
<
|
63 |
-
<
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
<Space size={[0, 8]} wrap>
|
67 |
<Radio.Group
|
68 |
defaultValue="a"
|
|
|
59 |
height: '72px',
|
60 |
}}
|
61 |
>
|
62 |
+
<a href={window.location.origin}>
|
63 |
+
<Space
|
64 |
+
size={12}
|
65 |
+
onClick={handleLogoClick}
|
66 |
+
className={styles.logoWrapper}
|
67 |
+
>
|
68 |
+
<img src="/logo.svg" alt="" className={styles.appIcon} />
|
69 |
+
<span className={styles.appName}>{appConf.appName}</span>
|
70 |
+
</Space>
|
71 |
+
</a>
|
72 |
<Space size={[0, 8]} wrap>
|
73 |
<Radio.Group
|
74 |
defaultValue="a"
|