mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 12:16:39 +00:00
Added noDataText
This commit is contained in:
parent
3e14d27a1e
commit
3f920767f1
@ -98,7 +98,7 @@ export class HaDataTable extends LitElement {
|
||||
|
||||
@property({ type: String }) public noDataText?: string;
|
||||
|
||||
@property({ type: String }) public searchLabel = "";
|
||||
@property({ type: String }) public searchLabel?: string;
|
||||
|
||||
@property({ type: String }) public filter = "";
|
||||
|
||||
|
@ -94,6 +94,7 @@ export class ZHAClustersDataTable extends LitElement {
|
||||
auto-height
|
||||
.dir=${computeRTLDirection(this.hass)}
|
||||
.searchLabel=${this.hass.localize("ui.components.data-table.search")}
|
||||
.noDataText=${this.hass.localize("ui.components.data-table.no-data")}
|
||||
></ha-data-table>
|
||||
`;
|
||||
}
|
||||
|
@ -150,6 +150,7 @@ export class ZHADeviceEndpointDataTable extends LitElement {
|
||||
auto-height
|
||||
.dir=${computeRTLDirection(this.hass)}
|
||||
.searchLabel=${this.hass.localize("ui.components.data-table.search")}
|
||||
.noDataText=${this.hass.localize("ui.components.data-table.no-data")}
|
||||
></ha-data-table>
|
||||
`;
|
||||
}
|
||||
|
@ -177,6 +177,7 @@ export class HuiUnusedEntities extends LitElement {
|
||||
@selection-changed=${this._handleSelectionChanged}
|
||||
.dir=${computeRTLDirection(this.hass)}
|
||||
.searchLabel=${this.hass.localize("ui.components.data-table.search")}
|
||||
.noDataText=${this.hass.localize("ui.components.data-table.no-data")}
|
||||
></ha-data-table>
|
||||
|
||||
${this._selectedEntities.length
|
||||
|
@ -335,7 +335,8 @@
|
||||
"automation": "Part of the following automations"
|
||||
},
|
||||
"data-table": {
|
||||
"search": "Search"
|
||||
"search": "Search",
|
||||
"no-data": "No data"
|
||||
}
|
||||
},
|
||||
"dialogs": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user