diff --git a/client/common/configuration/elements/channel-configuration.ts b/client/common/configuration/elements/channel-configuration.ts index 46c92b87..e75501c3 100644 --- a/client/common/configuration/elements/channel-configuration.ts +++ b/client/common/configuration/elements/channel-configuration.ts @@ -43,7 +43,7 @@ export class ChannelConfigurationElement extends LivechatElement { args: () => [this.registerClientOptions] }) - private readonly _saveConfig = (ev?: Event): undefined => { + private readonly _saveConfig = (ev?: Event): void => { ev?.preventDefault() if (this._channelDetailsService && this._channelConfiguration) { this._channelDetailsService.saveOptions(this._channelConfiguration.channel.id, diff --git a/client/common/lib/elements/dynamic-table-form.ts b/client/common/lib/elements/dynamic-table-form.ts index e62200ae..e15c520f 100644 --- a/client/common/lib/elements/dynamic-table-form.ts +++ b/client/common/lib/elements/dynamic-table-form.ts @@ -444,7 +444,7 @@ export class DynamicTableFormElement extends LivechatElement { _updatePropertyFromValue = (event: Event, propertyName: string, propertySchema: CellDataSchema, - rowId: number): undefined => { + rowId: number): void => { const target = event.target as (HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement) const value = (target) ? (target instanceof HTMLInputElement && target.type === 'checkbox')