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!

πŸ—‘ Remove commented out code

Alicia Sykesc1c75f78ba23
diff --git a/src/mixins/HomeMixin.js b/src/mixins/HomeMixin.js
index e8413873..ad24fd0b 100644
--- a/src/mixins/HomeMixin.js
+++ b/src/mixins/HomeMixin.js
@@ -58,14 +58,6 @@ const HomeMixin = {
const subPageName = isSubPage ? pagePath.split('/').pop() : null;
return subPageName;
},
- // async getConfigForRoute() {
- // this.$store.commit(Keys.SET_CURRENT_SUB_PAGE, this.subPageInfo);
- // if (this.subPageInfo && this.subPageInfo.confPath) { // Get config for sub-page
- // await this.$store.dispatch(Keys.INITIALIZE_MULTI_PAGE_CONFIG, this.subPageInfo.confPath);
- // } else { // Otherwise, use main config
- // this.$store.commit(Keys.USE_MAIN_CONFIG);
- // }
- // },
/* TEMPORARY: If on sub-page, check if custom theme is set and return it */
getSubPageTheme() {
if (!this.pageId || this.pageId === 'home') {