Skip to content

Commit

Permalink
Hiding unused menus
Browse files Browse the repository at this point in the history
  • Loading branch information
isontheline committed Jul 30, 2024
1 parent 8ecf3f2 commit e60f25f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/src/assets/svg-icon/mdi--logout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type DropdownOption =
const options = computed(() => {
const opts: DropdownOption[] = [
/*
{
label: $t('common.userCenter'),
key: 'user-center',
Expand All @@ -42,10 +43,11 @@ const options = computed(() => {
type: 'divider',
key: 'divider'
},
*/
{
label: $t('common.logout'),
key: 'logout',
icon: SvgIconVNode({ localIcon: 'ph--sign-out', fontSize: 18 })
icon: SvgIconVNode({ localIcon: 'mdi--logout', fontSize: 18 })
}
];
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/layouts/modules/global-header/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const headerMenus = computed(() => {
:is-dark="themeStore.darkMode"
@switch="themeStore.toggleThemeScheme"
/>
<ThemeButton />
<!-- <ThemeButton /> -->
<HelpButton />
<UserAvatar />
</div>
Expand Down

0 comments on commit e60f25f

Please sign in to comment.