π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:fire: Remove no longer needed props, replaced with VueX state
Alicia Sykes004bffce180a
diff --git a/src/components/Settings/SettingsContainer.vue b/src/components/Settings/SettingsContainer.vueindex 2d148a38..6a9999af 100644--- a/src/components/Settings/SettingsContainer.vue+++ b/src/components/Settings/SettingsContainer.vue@@ -51,9 +51,6 @@ export default {displayLayout: String,iconSize: String,externalThemes: Object,- appConfig: Object,- pageInfo: Object,- sections: Array,modalOpen: Boolean,},components: {@@ -69,6 +66,15 @@ export default {IconClose,},computed: {+ sections() {+ return this.$store.getters.sections;+ },+ appConfig() {+ return this.$store.getters.appConfig;+ },+ pageInfo() {+ return this.$store.getters.pageInfo;+ },/*** Determines which button should display, based on the user type* 0 = Auth not configured, don't show anythingdiff --git a/src/views/Home.vue b/src/views/Home.vueindex c73c11e4..0eda20f7 100644--- a/src/views/Home.vue+++ b/src/views/Home.vue@@ -10,9 +10,6 @@:displayLayout="layout":iconSize="itemSizeBound":externalThemes="getExternalCSSLinks()"- :sections="allSections"- :appConfig="appConfig"- :pageInfo="pageInfo":modalOpen="modalOpen"class="settings-outer"/>