From 4851e35fba7f7c008d02348519bc7d151a690f91 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Fri, 14 Jun 2024 10:45:36 +0200 Subject: [PATCH] Fix lit class attribute. --- client/common/configuration/elements/channel-tabs.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/client/common/configuration/elements/channel-tabs.ts b/client/common/configuration/elements/channel-tabs.ts index 43199067..2470a315 100644 --- a/client/common/configuration/elements/channel-tabs.ts +++ b/client/common/configuration/elements/channel-tabs.ts @@ -6,6 +6,7 @@ import { LivechatElement } from '../../lib/elements/livechat' import { ptTr } from '../../lib/directives/translation' import { html, TemplateResult } from 'lit' import { customElement, property } from 'lit/decorators.js' +import { classMap } from 'lit/directives/class-map.js' @customElement('livechat-channel-tabs') export class ChannelHomeElement extends LivechatElement { @@ -18,13 +19,19 @@ export class ChannelHomeElement extends LivechatElement { protected override render = (): TemplateResult => { return html` ${ptTr(LOC_LIVECHAT_CONFIGURATION_CHANNEL_TITLE)} ${ptTr(LOC_LIVECHAT_CONFIGURATION_CHANNEL_EMOJIS_TITLE)}