diff --git a/client/common/configuration/elements/channel-emojis.ts b/client/common/configuration/elements/channel-emojis.ts index 4fbdc0bc..4cf4bfe9 100644 --- a/client/common/configuration/elements/channel-emojis.ts +++ b/client/common/configuration/elements/channel-emojis.ts @@ -55,6 +55,12 @@ export class ChannelEmojisElement extends LivechatElement { } this._channelDetailsService = new ChannelDetailsService(this.ptOptions) this.channelEmojisConfiguration = await this._channelDetailsService.fetchEmojisConfiguration(this.channelId) + if (!this.channelEmojisConfiguration.emojis.customEmojis.length) { + this.channelEmojisConfiguration.emojis.customEmojis.push({ + sn: '', + url: '' + }) + } this.actionDisabled = false // in case of reset }, args: () => []