Skip to content

Commit

Permalink
use component instead of plain text
Browse files Browse the repository at this point in the history
  • Loading branch information
serikshaikamalov committed Jul 30, 2024
1 parent 9275e6f commit 6a7c553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-table/app-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class AppTable extends LitElement {

render() {
if (!this.data || this.data.length == 0) {
return this.options && this.options['noDataText'] ? html`<div>${this.options['noDataText']}</div>` : html`<div>NO DATA</div>`;
return this.options && this.options['noDataText'] ? this.options['noDataText'] : html`<div>NO DATA</div>`;
}

return html`
Expand Down

0 comments on commit 6a7c553

Please sign in to comment.