Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

indentation adjustments

Wu Baiyang (Student)f7779bed74e2
diff --git a/src/components/Settings/SearchBar.vue b/src/components/Settings/SearchBar.vue
index 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.js
index 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 };