Skip to content

Commit 1730d15

Browse files
TASK-1828886-1: review fixes in view.component.js
1 parent 61f6e4c commit 1730d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dxcomponents/components/containers/view.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class ViewComponent extends ContainerBaseComponent {
7777

7878
const template = this.#resolveTemplateType(configProps);
7979
const label = configProps.label ?? "";
80-
const showLabel = (configProps.showLabel || this.DETAILS_TEMPLATES.includes(template)) ?? this.props.showLabel;
80+
const showLabel = configProps.showLabel || this.DETAILS_TEMPLATES.includes(template);
8181
const isTemplateWithHeader = !this.NO_HEADER_TEMPLATES.includes(template);
8282
this.props.label = inheritedProps.label ?? label;
8383
this.props.showLabel = (inheritedProps.showLabel || showLabel) && isTemplateWithHeader;

0 commit comments

Comments
 (0)