diff --git a/src/components/Settings/SettingsContainer.vue b/src/components/Settings/SettingsContainer.vue index 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 anything diff --git a/src/views/Home.vue b/src/views/Home.vue index 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" />