mirror of https://github.com/Lissy93/dashy.git
🔥 Remove no longer needed props, replaced with VueX state
This commit is contained in:
parent
0e5eca1b7b
commit
004bffce18
|
@ -51,9 +51,6 @@ export default {
|
||||||
displayLayout: String,
|
displayLayout: String,
|
||||||
iconSize: String,
|
iconSize: String,
|
||||||
externalThemes: Object,
|
externalThemes: Object,
|
||||||
appConfig: Object,
|
|
||||||
pageInfo: Object,
|
|
||||||
sections: Array,
|
|
||||||
modalOpen: Boolean,
|
modalOpen: Boolean,
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
@ -69,6 +66,15 @@ export default {
|
||||||
IconClose,
|
IconClose,
|
||||||
},
|
},
|
||||||
computed: {
|
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
|
* Determines which button should display, based on the user type
|
||||||
* 0 = Auth not configured, don't show anything
|
* 0 = Auth not configured, don't show anything
|
||||||
|
|
|
@ -10,9 +10,6 @@
|
||||||
:displayLayout="layout"
|
:displayLayout="layout"
|
||||||
:iconSize="itemSizeBound"
|
:iconSize="itemSizeBound"
|
||||||
:externalThemes="getExternalCSSLinks()"
|
:externalThemes="getExternalCSSLinks()"
|
||||||
:sections="allSections"
|
|
||||||
:appConfig="appConfig"
|
|
||||||
:pageInfo="pageInfo"
|
|
||||||
:modalOpen="modalOpen"
|
:modalOpen="modalOpen"
|
||||||
class="settings-outer"
|
class="settings-outer"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue