From 714e903e8137b98357ae858dd00c71ad9303dae7 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 15 Feb 2023 05:03:29 +0100 Subject: [PATCH] FIX: correctly open channel info (#20297) A typo was preventing a click on channel title when in drawer mode to correctly open the channel info in full page. This commit fixes the typo and adds a test. --- .../chat-drawer/header/channel-title.hbs | 2 +- plugins/chat/spec/system/drawer_spec.rb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/channel-title.hbs b/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/channel-title.hbs index c8188e9586d..3aad57058b3 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/channel-title.hbs +++ b/plugins/chat/assets/javascripts/discourse/components/chat-drawer/header/channel-title.hbs @@ -1,5 +1,5 @@ {{#if @channel}} - {{#if @this.chatStateManager.isDrawerExpanded}} + {{#if this.chatStateManager.isDrawerExpanded}}