π 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: Removes previous widget data structure
Alicia Sykesc4134e033b73
diff --git a/src/store.js b/src/store.jsindex 2df242ec..38bfb582 100644--- a/src/store.js+++ b/src/store.js@@ -54,9 +54,6 @@ const store = new Vuex.Store({sections(state) {return filterUserSections(state.config.sections || []);},- widgets(state) {- return state.config.widgets || [];- },theme(state) {return state.config.appConfig.theme;},diff --git a/src/utils/ConfigAccumalator.js b/src/utils/ConfigAccumalator.jsindex 018c4f25..041306e9 100644--- a/src/utils/ConfigAccumalator.js+++ b/src/utils/ConfigAccumalator.js@@ -78,23 +78,12 @@ export default class ConfigAccumulator {return sections;}- /* Widgets */- widgets() {- const localWidgets = localStorage[localStorageKeys.CONF_WIDGETS];- if (localWidgets) {- const json = JSON.parse(localWidgets);- if (json.length >= 1) return json;- }- return this.conf.widgets || [];- }-/* Complete config */config() {return {appConfig: this.appConfig(),pageInfo: this.pageInfo(),sections: this.sections(),- widgets: this.widgets(),};}}