🚧 Display additional routes based on pages object

This commit is contained in:
Alicia Sykes
2022-04-15 14:02:07 +01:00
parent cc1b9c823b
commit 07f6bfeddc
2 changed files with 27 additions and 0 deletions

View File

@@ -23,6 +23,10 @@ export default class ConfigAccumulator {
this.conf = $store.state.remoteConfig;
}
pages() {
return this.conf.pages;
}
/* App Config */
appConfig() {
let appConfigFile = {};
@@ -88,6 +92,7 @@ export default class ConfigAccumulator {
appConfig: this.appConfig(),
pageInfo: this.pageInfo(),
sections: this.sections(),
pages: this.pages(),
};
}
}