@officexapp/catalogs-cli 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1477,7 +1477,7 @@ function buildPreviewHtml(schema, port) {
|
|
|
1477
1477
|
);
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
|
-
const components = page.components || [];
|
|
1480
|
+
const components = (page.components || []).filter(c => !c.hidden && !c.props?.hidden);
|
|
1481
1481
|
const bgImage = page.background_image || catalog.settings?.theme?.background_image;
|
|
1482
1482
|
|
|
1483
1483
|
// Cover page layout
|