Skip to content

Commit f2a697a

Browse files
committed
fix(html-element-web): use data source header only in the known supported versions
1 parent 98b3d82 commit f2a697a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/pluggableWidgets/html-element-web/src/HTMLElement.editorConfig.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ export function getPreview(
196196
);
197197

198198
return container({ grow: 1, borders: true, borderWidth: 1 })(
199-
values.tagContentRepeatDataSource ? datasource(values.tagContentRepeatDataSource)() : container()(),
199+
values.tagContentRepeatDataSource && canHideDataSourceHeader
200+
? datasource(values.tagContentRepeatDataSource)()
201+
: container()(),
200202
isVoidElement(tagName) ? voidElementPreview(tagName) : flowElementPreview()
201203
);
202204
}

0 commit comments

Comments
 (0)