diff --git a/client/common/videowatch/elements/templates/share-chat.ts b/client/common/videowatch/elements/templates/share-chat.ts index 0b3080d1..94cb6d99 100644 --- a/client/common/videowatch/elements/templates/share-chat.ts +++ b/client/common/videowatch/elements/templates/share-chat.ts @@ -70,12 +70,14 @@ export function tplShareChatTabs (el: ShareChatElement): TemplateResult { export function tplShareChatTips (el: ShareChatElement): TemplateResult { let label: string | undefined + let tips: TemplateResult | undefined switch (el.currentTab) { case 'peertube': label = LOC_SHARE_CHAT_PEERTUBE_TIPS break case 'embed': label = LOC_TIPS_FOR_STREAMERS + tips = html`` break case 'xmpp': label = LOC_CONNECT_USING_XMPP_HELP @@ -84,7 +86,7 @@ export function tplShareChatTips (el: ShareChatElement): TemplateResult { if (!label) { return html`` } - return html`
${ptTr(label)}
` + return html`
${ptTr(label)}${tips}
` } function _tplShareChatPeertubeOptions (_el: ShareChatElement): TemplateResult {