From 945c0a6e4f2a844ce66be711d6342ef982541206 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 16 Jul 2020 12:31:42 +0100 Subject: [PATCH] FIX: Allow using `thread` filter for new rules --- .../admin/controllers/admin-plugins-chat-provider.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/admin/controllers/admin-plugins-chat-provider.js.es6 b/assets/javascripts/admin/controllers/admin-plugins-chat-provider.js.es6 index e9bc2fc..d9eaa21 100644 --- a/assets/javascripts/admin/controllers/admin-plugins-chat-provider.js.es6 +++ b/assets/javascripts/admin/controllers/admin-plugins-chat-provider.js.es6 @@ -61,7 +61,7 @@ export default Ember.Controller.extend({ this.set("modalShowing", true); const model = { - rule: this.store.createRecord("rule", { channel_id: channel.id }), + rule: this.store.createRecord("rule", { channel_id: channel.id, channel }), channel, provider: this.get("model.provider"), groups: this.get("model.groups")