Better UI for channel configuration pages.

This commit is contained in:
John Livingston
2024-06-12 10:27:28 +02:00
parent e811c549fd
commit 72c4b0804d
5 changed files with 203 additions and 215 deletions

View File

@ -19,10 +19,11 @@ export class ConfigurationRowElement extends LivechatElement {
protected override render = (): unknown => {
return html`
<h2>${this.title}</h2>
<h2>
${this.title}
<livechat-help-button .page=${this.helpPage}></livechat-help-button>
</h2>
<p>${this.description}</p>
<livechat-help-button .page=${this.helpPage}>
</livechat-help-button>
`
}
}

View File

@ -268,7 +268,7 @@ export class DynamicTableFormElement extends LivechatElement {
<button type="button"
class="peertube-button-link orange-button dynamic-table-remove-row"
.title=${ptTr(LOC_ACTION_REMOVE_ENTRY)}
@click=${() => this._removeRow(rowData._id)}
@click=${async () => this._removeRow(rowData._id)}
>
${unsafeHTML(RemoveSVG)}
</button>