FIX: Allow using `thread` filter for new rules

This commit is contained in:
David Taylor 2020-07-16 12:31:42 +01:00 committed by GitHub
parent 509360e190
commit 945c0a6e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")