We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8799b46 commit 9275e6fCopy full SHA for 9275e6f
app-table/app-table.js
@@ -67,21 +67,23 @@ export class AppTable extends LitElement {
67
columnConfig: { type: Array },
68
data: { type: Array },
69
hideColumnsOnMobile: { type: Array },
70
+ options: { type: Object }
71
};
72
}
73
constructor() {
74
super();
75
this.columnConfig = [];
76
this.data = [];
77
this.hideColumnsOnMobile = [];
78
+ this.options = null
79
80
connectedCallback() {
81
super.connectedCallback();
82
83
84
render() {
85
if (!this.data || this.data.length == 0) {
- return html`<div>NO DATA</div>`;
86
+ return this.options && this.options['noDataText'] ? html`<div>${this.options['noDataText']}</div>` : html`<div>NO DATA</div>`;
87
88
89
return html`
0 commit comments