More cleanup

This commit is contained in:
Mehdi Benadel
2024-05-24 14:08:48 +02:00
parent 0f99d66ac4
commit d95312aa11
8 changed files with 110 additions and 28 deletions

View File

@ -18,7 +18,7 @@ import { LivechatElement } from './livechat'
@customElement('livechat-help-button')
export class HelpButtonElement extends LivechatElement {
@consume({ context: registerClientOptionsContext, subscribe: true })
public registerClientOptions: RegisterClientOptions | undefined
public registerClientOptions?: RegisterClientOptions
@property({ attribute: false })
public buttonTitle: string | DirectiveResult = ptTr(LOC_ONLINE_HELP)