fixing errors from linting
This commit is contained in:
parent
fb7f44692c
commit
0f99d66ac4
@ -43,7 +43,7 @@ export class ChannelConfigurationElement extends LivechatElement {
|
|||||||
args: () => [this.registerClientOptions]
|
args: () => [this.registerClientOptions]
|
||||||
})
|
})
|
||||||
|
|
||||||
private readonly _saveConfig = (ev?: Event): undefined => {
|
private readonly _saveConfig = (ev?: Event): void => {
|
||||||
ev?.preventDefault()
|
ev?.preventDefault()
|
||||||
if (this._channelDetailsService && this._channelConfiguration) {
|
if (this._channelDetailsService && this._channelConfiguration) {
|
||||||
this._channelDetailsService.saveOptions(this._channelConfiguration.channel.id,
|
this._channelDetailsService.saveOptions(this._channelConfiguration.channel.id,
|
||||||
|
@ -444,7 +444,7 @@ export class DynamicTableFormElement extends LivechatElement {
|
|||||||
_updatePropertyFromValue = (event: Event,
|
_updatePropertyFromValue = (event: Event,
|
||||||
propertyName: string,
|
propertyName: string,
|
||||||
propertySchema: CellDataSchema,
|
propertySchema: CellDataSchema,
|
||||||
rowId: number): undefined => {
|
rowId: number): void => {
|
||||||
const target = event.target as (HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement)
|
const target = event.target as (HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement)
|
||||||
const value = (target)
|
const value = (target)
|
||||||
? (target instanceof HTMLInputElement && target.type === 'checkbox')
|
? (target instanceof HTMLInputElement && target.type === 'checkbox')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user