mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-07 05:44:46 +02:00
🗑 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;
|
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…
x
Reference in New Issue
Block a user