From b4ae1e282f7ca79319047dafdcc95e822affcec9 Mon Sep 17 00:00:00 2001 From: Robert Barrow Date: Mon, 23 Mar 2020 11:22:54 +0000 Subject: [PATCH] FIX: Category selector for Chat Admin interface --- assets/javascripts/discourse/templates/admin/chat.hbs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/templates/admin/chat.hbs b/assets/javascripts/discourse/templates/admin/chat.hbs index 77b9fb2..a8ac947 100644 --- a/assets/javascripts/discourse/templates/admin/chat.hbs +++ b/assets/javascripts/discourse/templates/admin/chat.hbs @@ -15,7 +15,11 @@ {{#if categoryPermissions}}
- {{category-selector categories=categories single=true canReceiveUpdates="true"}} + {{category-selector + categories=categories + maximum=1 + onChange=(action (mut categories)) + }}
{{else}}