π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:zap: If only 1 section set, then expand on load
Alicia Sykes5fe79711bd0c
diff --git a/src/components/Workspace/SideBar.vue b/src/components/Workspace/SideBar.vueindex cc81fa3b..94595b6e 100644--- a/src/components/Workspace/SideBar.vue+++ b/src/components/Workspace/SideBar.vue@@ -71,7 +71,11 @@ export default {},},mounted() {- this.openDefaultSection();+ if (this.sections.length === 1) { // If only 1 section, go ahead and open it+ this.openSection(0);+ } else { // Otherwise, see if user set a default section, and open that+ this.openDefaultSection();+ }},};</script>