1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-20 00:40:21 +01:00

Add created/modified to registry tables (#21494)

This commit is contained in:
Bram Kragten
2024-07-30 11:18:50 +02:00
committed by GitHub
parent a85dda3365
commit 4ade39543d
40 changed files with 320 additions and 151 deletions

View File

@@ -270,7 +270,7 @@ class HaScriptPicker extends SubscribeMixin(LitElement) {
sortable: true,
filterable: true,
direction: "asc",
grows: true,
flex: 2,
extraTemplate: (script) =>
script.labels.length
? html`<ha-data-table-labels
@@ -301,7 +301,6 @@ class HaScriptPicker extends SubscribeMixin(LitElement) {
},
last_triggered: {
sortable: true,
width: "40%",
title: localize("ui.card.automation.last_triggered"),
template: (script) => {
const date = new Date(script.last_triggered);
@@ -322,7 +321,6 @@ class HaScriptPicker extends SubscribeMixin(LitElement) {
},
actions: {
title: "",
width: "64px",
type: "overflow-menu",
showNarrow: true,
moveable: false,