File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5252 </div >
5353
5454 <ul class =" py-1" role =" none" >
55- <li v-for =" c in coreStore?.config?.globalInjections?.userMenu || [] " class =" bg-lightUserMenuItemBackground hover:bg-lightUserMenuItemBackgroundHover text-lightUserMenuItemText hover:text-lightUserMenuItemText dark:bg-darkUserMenuItemBackground dark:hover:bg-darkUserMenuItemBackgroundHover dark:text-darkUserMenuItemText dark:hover:darkUserMenuItemTextHover" >
55+ <li v-for =" c in userMenuComponents " class =" bg-lightUserMenuItemBackground hover:bg-lightUserMenuItemBackgroundHover text-lightUserMenuItemText hover:text-lightUserMenuItemText dark:bg-darkUserMenuItemBackground dark:hover:bg-darkUserMenuItemBackgroundHover dark:text-darkUserMenuItemText dark:hover:darkUserMenuItemTextHover" >
5656 <component
5757 :is =" getCustomComponent(c)"
5858 :meta =" c.meta"
@@ -202,6 +202,10 @@ const loggedIn = computed(() => !!coreStore?.adminUser);
202202
203203const theme = ref (' light' );
204204
205+ const userMenuComponents = computed (() => {
206+ return coreStore ?.config ?.globalInjections ?.userMenu || [];
207+ })
208+
205209function hideSidebar(): void {
206210 sideBarOpen .value = false ;
207211}
You can’t perform that action at this time.
0 commit comments