web: fix lint errors

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-07 21:43:04 +02:00
parent 9a8240bdd1
commit 3eafa4711e
2 changed files with 4 additions and 2 deletions

View File

@ -208,7 +208,7 @@ export abstract class Table<T> extends LitElement {
if (this.data.pagination.count === 0) {
return [this.renderEmpty()];
}
return this.data.results.map((item: T, idx: number) => {
return this.data.results.map((item: T) => {
return html`<tbody
role="rowgroup"
class="${this.expandedElements.indexOf(item) > -1 ? "pf-m-expanded" : ""}"

View File

@ -96,7 +96,9 @@ export class OutpostListPage extends TablePage<Outpost> {
renderExpanded(item: Outpost): TemplateResult {
return html`<td role="cell" colspan="3">
<div class="pf-c-table__expandable-row-content">
<h3>${t`Detailed health (one instance per column, data is cached so may be out of data)`}</h3>
<h3>
${t`Detailed health (one instance per column, data is cached so may be out of data)`}
</h3>
<dl class="pf-c-description-list">
${until(
new OutpostsApi(DEFAULT_CONFIG)