π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
indentation adjustments
Wu Baiyang (Student)f7779bed74e2
diff --git a/src/components/Settings/SearchBar.vue b/src/components/Settings/SearchBar.vueindex 84278506..4e98314c 100644--- a/src/components/Settings/SearchBar.vue+++ b/src/components/Settings/SearchBar.vue@@ -89,7 +89,7 @@ export default {akn: new ArrowKeyNavigation(),getCustomKeyShortcuts,showSearchPanel: false,- // goToLinkEnabled is now managed by Vuex/appConfig+ // goToLinkEnabled is now managed by Vuex/appConfig};},computed: {diff --git a/src/store.js b/src/store.jsindex edf86265..b0a6551b 100644--- a/src/store.js+++ b/src/store.js@@ -73,10 +73,10 @@ const store = new Vuex.Store({if (!state.config) return {};return state.config.appConfig || {};},- goToLinkEnabled(state, getters) {- // Default to true if not set- return typeof getters.appConfig.goToLinkEnabled === 'boolean' ? getters.appConfig.goToLinkEnabled : true;- },+ goToLinkEnabled(state, getters) {+ // Default to true if not set+ return typeof getters.appConfig.goToLinkEnabled === 'boolean' ? getters.appConfig.goToLinkEnabled : true;+ },sections(state) {return filterUserSections(state.config.sections || []);},@@ -241,11 +241,11 @@ const store = new Vuex.Store({if (!state.config.appConfig) state.config.appConfig = {};state.config.appConfig.disableWebSearch = value;},- // Dynamically update goToLinkEnabled in appConfig- setGoToLinkEnabled(state, value) {- if (!state.config.appConfig) state.config.appConfig = {};- state.config.appConfig.goToLinkEnabled = value;- },+ // Dynamically update goToLinkEnabled in appConfig+ setGoToLinkEnabled(state, value) {+ if (!state.config.appConfig) state.config.appConfig = {};+ state.config.appConfig.goToLinkEnabled = value;+ },[UPDATE_SECTION](state, payload) {const { sectionIndex, sectionData } = payload;const newConfig = { ...state.config };