1010 class =" menu-item-wrapper"
1111 :class =" { active: isActive(item.path) }"
1212 >
13- <a class =" menu-item"
14- :href =" item.path || null"
15- :target =" item.external ? '_blank' : null"
16- >
17- {{ item.label}}
18- </a >
19- <div v-if =" item.subMenuItems" class =" submenu" >
20- <a
21- v-for =" subItem in item.subMenuItems"
22- class =" submenu-item"
23- :class =" { active: isActive(subItem.path) }"
24- :href =" subItem.path || null"
25- :target =" subItem.external ? '_blank' : null"
13+ <a class =" menu-item"
14+ :href =" item.path || null"
15+ :target =" item.external ? '_blank' : null"
16+ v-html =" item.label"
2617 >
27- {{ subItem.label }}
2818 </a >
29- </div >
19+ <div v-if =" item.subMenuItems" class =" submenu" >
20+ <a
21+ v-for =" subItem in item.subMenuItems"
22+ class =" submenu-item"
23+ :class =" { active: isActive(subItem.path) }"
24+ :href =" subItem.path || null"
25+ :target =" subItem.external ? '_blank' : null"
26+ >
27+ {{ subItem.label }}
28+ </a >
29+ </div >
30+ </div >
31+ <div style =" height :2em ; width :0 ; border : 1px solid black ; margin :0 10px ; align-self : center ;" ></div >
32+ <div class =" menu-item-wrapper" >
33+ <a class =" menu-item"
34+ :href =" '/account'"
35+ >
36+ <svg xmlns =' http://www.w3.org/2000/svg' fill =' none' viewBox =' 0 0 24 24' ><g stroke =' #000' stroke-linecap =' round' stroke-linejoin =' round' stroke-width =' 3' ><path d =' M16 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0M12 14a7 7 0 0 0-7 7h14a7 7 0 0 0-7-7' /></g ></svg >
37+ Account
38+ </a >
3039 </div >
3140 </div >
3241 </div >
@@ -48,6 +57,14 @@ export default Vue.component("sysbio-header", {
4857 };
4958 },
5059 computed: {},
60+ mounted () {
61+ fetch (" /" , { method: " HEAD" })
62+ .then (res => {
63+ const userInfo = res .headers .get (" X-Fairplex-User-Info" );
64+ // console.log(userInfo);
65+ })
66+ .catch (() => {});
67+ },
5168 created () {
5269 this .injectFavicon (
5370 " /images/sysbio/logos/sb-color-icon.svg"
@@ -164,6 +181,13 @@ export default Vue.component("sysbio-header", {
164181 font-weight : 600 ;
165182 color : var (--sysbio-black );
166183 font-weight : bold ;
184+ display :flex ;
185+ align-items : center ;
186+ gap :3px ;
187+ }
188+ ::v-deep .menu-item svg ,
189+ ::v-deep .menu-item img {
190+ height : 1em ;
167191 }
168192 .menu-item-wrapper :has (.submenu ) .menu-item {
169193 border-radius : 10px 10px 0 0 ;
0 commit comments