We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e2c657 commit 13a6bc2Copy full SHA for 13a6bc2
1 file changed
adminforth/modules/configValidator.ts
@@ -159,15 +159,14 @@ export default class ConfigValidator implements IConfigValidator {
159
if (!customization.customPages) {
160
customization.customPages = [];
161
}
162
- customization.customPages.forEach((page, i) => {
+ customization.customPages.forEach((page) => {
163
page.component = this.validateComponent(page.component, errors);
164
const meta = page.component.meta || {};
165
if (meta.sidebarAndHeader === undefined) {
166
meta.sidebarAndHeader = meta.customLayout === true ? 'none' : 'default';
167
168
delete meta.customLayout;
169
page.component.meta = meta;
170
- customization.customPages[i].component = page.component;
171
});
172
173
if (!customization.brandName) { //} === undefined) {
0 commit comments