Skip to content

Commit

Permalink
Fix vrt test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Feb 25, 2025
1 parent c9b332a commit 3912c54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class SurveyQuestionMatrixDynamicPlaceholder extends ReactSurveyElement {
protected renderElement(): React.JSX.Element {
const cssClasses = this.props.cssClasses;
const matrix = this.props.question;
const showAddButton = matrix.renderedTable.showAddRowOnTop;
const showAddButton = matrix.renderedTable.showAddRow;
const text: React.JSX.Element = this.renderLocString(matrix.locNoRowsText);
const textDiv: React.JSX.Element = <div className={cssClasses.noRowsText}>{text}</div>;
const btn: React.JSX.Element | undefined = showAddButton ? this.renderAddRowButton(cssClasses, matrix) : undefined;
Expand Down

0 comments on commit 3912c54

Please sign in to comment.