web: fix lint errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
9a8240bdd1
commit
3eafa4711e
|
@ -208,7 +208,7 @@ export abstract class Table<T> extends LitElement {
|
||||||
if (this.data.pagination.count === 0) {
|
if (this.data.pagination.count === 0) {
|
||||||
return [this.renderEmpty()];
|
return [this.renderEmpty()];
|
||||||
}
|
}
|
||||||
return this.data.results.map((item: T, idx: number) => {
|
return this.data.results.map((item: T) => {
|
||||||
return html`<tbody
|
return html`<tbody
|
||||||
role="rowgroup"
|
role="rowgroup"
|
||||||
class="${this.expandedElements.indexOf(item) > -1 ? "pf-m-expanded" : ""}"
|
class="${this.expandedElements.indexOf(item) > -1 ? "pf-m-expanded" : ""}"
|
||||||
|
|
|
@ -96,7 +96,9 @@ export class OutpostListPage extends TablePage<Outpost> {
|
||||||
renderExpanded(item: Outpost): TemplateResult {
|
renderExpanded(item: Outpost): TemplateResult {
|
||||||
return html`<td role="cell" colspan="3">
|
return html`<td role="cell" colspan="3">
|
||||||
<div class="pf-c-table__expandable-row-content">
|
<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">
|
<dl class="pf-c-description-list">
|
||||||
${until(
|
${until(
|
||||||
new OutpostsApi(DEFAULT_CONFIG)
|
new OutpostsApi(DEFAULT_CONFIG)
|
||||||
|
|
Reference in New Issue