🗑 Remove commented out code

This commit is contained in:
Alicia Sykes 2024-04-10 21:44:55 +01:00
parent ee735fe342
commit c1c75f78ba
1 changed files with 0 additions and 8 deletions

View File

@ -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') {