Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

put the sort button in for later

Vincenta1f01d52e573
diff --git a/ui/component/or-table/src/index.ts b/ui/component/or-table/src/index.ts
index 02865b220..084137a37 100644
--- a/ui/component/or-table/src/index.ts
+++ b/ui/component/or-table/src/index.ts
@@ -45,7 +45,12 @@ export class OrTable extends LitElement {
<table class="mdc-data-table__table" aria-label="Dessert calories">
<thead>
<tr class="mdc-data-table__header-row">
- ${this.headers.map(item => html`<th class="mdc-data-table__header-cell" role="columnheader" scope="col">${item}</th>`)}
+ ${this.headers.map(item => html`
+ <th class="mdc-data-table__header-cell" role="columnheader" scope="col">
+ ${item}
+<!-- <or-icon icon="menu-swap" @click="${() => console.log('click')}"></or-icon> -->
+ </th>
+ `)}
</tr>
</thead>
<tbody class="mdc-data-table__content">