We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61f6e4c commit 1730d15Copy full SHA for 1730d15
scripts/dxcomponents/components/containers/view.component.js
@@ -77,7 +77,7 @@ export class ViewComponent extends ContainerBaseComponent {
77
78
const template = this.#resolveTemplateType(configProps);
79
const label = configProps.label ?? "";
80
- const showLabel = (configProps.showLabel || this.DETAILS_TEMPLATES.includes(template)) ?? this.props.showLabel;
+ const showLabel = configProps.showLabel || this.DETAILS_TEMPLATES.includes(template);
81
const isTemplateWithHeader = !this.NO_HEADER_TEMPLATES.includes(template);
82
this.props.label = inheritedProps.label ?? label;
83
this.props.showLabel = (inheritedProps.showLabel || showLabel) && isTemplateWithHeader;
0 commit comments