mirror of https://github.com/Lissy93/dashy.git
🗑 Remove commented out code
This commit is contained in:
parent
ee735fe342
commit
c1c75f78ba
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue