Skip to content

Commit

Permalink
Hide title menu icon when selected pages is only 1
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie44 committed Jan 24, 2023
1 parent 1180ee8 commit 93b45f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions config_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,17 @@ pages:
path: 'containermanager'
icon: all_inbox
label: system.menu_items.container_manager
Networking:
components: [[WifiConnect]]
path: 'networking'
icon: router
label: system.menu_items.networking
SystemInfo:
components: [[SystemJournalDLogs, ToolsSystemInfo]]
path: 'systeminfo'
icon: info
label: system.menu_items.system_info
styles:
header:
visible: false # Whether the header logo should be visible
title: test
visible: true # Whether the header logo should be visible
title:
1 change: 1 addition & 0 deletions ui/src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<q-header bordered reveal v-bind="qHeaderStyle.header">
<q-toolbar>
<q-btn
v-if="Object.keys(configYml.pages).length > 1"
class="q-mr-sm"
size="12px"
flat
Expand Down

0 comments on commit 93b45f9

Please sign in to comment.