From 93b45f924d98731b75a8b67f4c53de18e4c6c359 Mon Sep 17 00:00:00 2001 From: maggie0002 <64841595+maggie0002@users.noreply.github.com> Date: Tue, 24 Jan 2023 20:48:52 +0000 Subject: [PATCH] Hide title menu icon when selected pages is only 1 --- config_default.yml | 9 +++++++-- ui/src/layouts/MainLayout.vue | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config_default.yml b/config_default.yml index a64e1ead..39831941 100644 --- a/config_default.yml +++ b/config_default.yml @@ -37,6 +37,11 @@ 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' @@ -44,5 +49,5 @@ pages: 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: diff --git a/ui/src/layouts/MainLayout.vue b/ui/src/layouts/MainLayout.vue index c1afe9dc..aa826ec3 100644 --- a/ui/src/layouts/MainLayout.vue +++ b/ui/src/layouts/MainLayout.vue @@ -3,6 +3,7 @@