From 854bb8fb27c3d4c0a9121262538f6b200471ec9a Mon Sep 17 00:00:00 2001 From: Mehdi Benadel Date: Sat, 25 May 2024 14:40:59 +0200 Subject: [PATCH] Move configuration row to shared --- client/common/configuration/elements/index.js | 1 - .../{configuration => lib}/elements/configuration-row.ts | 4 ++-- client/common/lib/elements/index.js | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) rename client/common/{configuration => lib}/elements/configuration-row.ts (88%) diff --git a/client/common/configuration/elements/index.js b/client/common/configuration/elements/index.js index 3849396a..7b570639 100644 --- a/client/common/configuration/elements/index.js +++ b/client/common/configuration/elements/index.js @@ -5,4 +5,3 @@ // Add here all your elements, the main JS file will import them all. import './channel-configuration' import './channel-home' -import './configuration-row' diff --git a/client/common/configuration/elements/configuration-row.ts b/client/common/lib/elements/configuration-row.ts similarity index 88% rename from client/common/configuration/elements/configuration-row.ts rename to client/common/lib/elements/configuration-row.ts index 31b919d0..b4ca85f3 100644 --- a/client/common/configuration/elements/configuration-row.ts +++ b/client/common/lib/elements/configuration-row.ts @@ -4,12 +4,12 @@ import { html } from 'lit' import { customElement, property } from 'lit/decorators.js' -import { LivechatElement } from '../../lib/elements/livechat' +import { LivechatElement } from './livechat' @customElement('livechat-configuration-row') export class ConfigurationRowElement extends LivechatElement { @property({ attribute: false }) - public title: string = 'title' + public override title: string = 'title' @property({ attribute: false }) public description: string = 'Here\'s a description' diff --git a/client/common/lib/elements/index.js b/client/common/lib/elements/index.js index 7920f81e..576c9029 100644 --- a/client/common/lib/elements/index.js +++ b/client/common/lib/elements/index.js @@ -5,3 +5,4 @@ // Add here all your elements, the main JS file will import them all. import './help-button' import './dynamic-table-form' +import './configuration-row'