Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: fix integration templates insertion (#4104)

Oleg Isonen5343181c6959
diff --git a/apps/builder/app/builder/features/sidebar-left/panels/marketplace/templates.tsx b/apps/builder/app/builder/features/sidebar-left/panels/marketplace/templates.tsx
index 3d1aa62ea1..9a4f687484 100644
--- a/apps/builder/app/builder/features/sidebar-left/panels/marketplace/templates.tsx
+++ b/apps/builder/app/builder/features/sidebar-left/panels/marketplace/templates.tsx
@@ -195,7 +195,10 @@ export const Templates = ({
instanceId: templateData.rootInstanceId,
});
}
- if (productCategory === "pageTemplates") {
+ if (
+ productCategory === "pageTemplates" ||
+ productCategory === "integrationTemplates"
+ ) {
insertPage({
data,
pageId: templateData.pageId,