diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.ts index 237750f9a9..ec2fae6085 100644 --- a/web/src/tippyjs.ts +++ b/web/src/tippyjs.ts @@ -388,6 +388,20 @@ export function initialize(): void { }, }); + tippy.delegate("body", { + target: [ + "[data-tab-key='not-subscribed'].disabled", + "[data-tab-key='all-streams'].disabled", + ].join(","), + content: $t({ + defaultMessage: "You can only view channels that you are subscribed to.", + }), + appendTo: () => document.body, + onHidden(instance) { + instance.destroy(); + }, + }); + tippy.delegate("body", { target: ".default-stream.default_stream_private_tooltip", content: $t({