Refactoring.

This commit is contained in:
John Livingston
2024-06-12 15:50:14 +02:00
parent a4a9f85956
commit 268c60d699
5 changed files with 14 additions and 13 deletions

View File

@ -6,7 +6,7 @@ import { html } from 'lit'
import { customElement, property } from 'lit/decorators.js'
import { LivechatElement } from './livechat'
@customElement('livechat-configuration-row')
@customElement('livechat-configuration-section-header')
export class ConfigurationRowElement extends LivechatElement {
@property({ attribute: false })
public override title: string = 'title'

View File

@ -197,6 +197,7 @@ export class DynamicTableFormElement extends LivechatElement {
this._updateLastRowId()
// Filter removed rows
// FIXME: seems buggy. Missing assignation?
this._rowsById.filter(rowById => this.rows.includes(rowById.row))
for (let i = 0; i < this.rows.length; i++) {

View File

@ -6,7 +6,7 @@
// Add here all your elements, the main JS file will import them all.
import './help-button'
import './dynamic-table-form'
import './configuration-row'
import './configuration-section-header'
import './tags-input'
import './image-file-input'
import './spinner'