🔥 Remove no longer needed props, replaced with VueX state

This commit is contained in:
Alicia Sykes 2021-10-09 22:41:28 +01:00
parent 0e5eca1b7b
commit 004bffce18
2 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -10,9 +10,6 @@
:displayLayout="layout"
:iconSize="itemSizeBound"
:externalThemes="getExternalCSSLinks()"
:sections="allSections"
:appConfig="appConfig"
:pageInfo="pageInfo"
:modalOpen="modalOpen"
class="settings-outer"
/>