mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
🗑 Remove commented out code
This commit is contained in:
parent
ee735fe342
commit
c1c75f78ba
1 changed files with 0 additions and 8 deletions
|
|
@ -58,14 +58,6 @@ const HomeMixin = {
|
||||||
const subPageName = isSubPage ? pagePath.split('/').pop() : null;
|
const subPageName = isSubPage ? pagePath.split('/').pop() : null;
|
||||||
return subPageName;
|
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 */
|
/* TEMPORARY: If on sub-page, check if custom theme is set and return it */
|
||||||
getSubPageTheme() {
|
getSubPageTheme() {
|
||||||
if (!this.pageId || this.pageId === 'home') {
|
if (!this.pageId || this.pageId === 'home') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue