mirror of
https://github.com/BrenBroZAYT/dashy.git
synced 2026-06-15 00:30:01 +00:00
🚧 Started working on itnitial state for widgets
This commit is contained in:
+6
-3
@@ -51,12 +51,15 @@ const store = new Vuex.Store({
|
||||
appConfig(state) {
|
||||
return state.config.appConfig || {};
|
||||
},
|
||||
theme(state) {
|
||||
return state.config.appConfig.theme;
|
||||
},
|
||||
sections(state) {
|
||||
return filterUserSections(state.config.sections || []);
|
||||
},
|
||||
widgets(state) {
|
||||
return state.config.widgets || [];
|
||||
},
|
||||
theme(state) {
|
||||
return state.config.appConfig.theme;
|
||||
},
|
||||
webSearch(state, getters) {
|
||||
return getters.appConfig.webSearch || {};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user