FEATURE: Allow selecting 'automatic' groups for rules (#97)

This commit is contained in:
David Taylor 2021-12-02 14:28:05 +00:00 committed by GitHub
parent 9bfb3ec4b2
commit 15e8f9470d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -9,9 +9,7 @@ export default DiscourseRoute.extend({
"id",
params.provider
),
groups: Group.findAll().then((groups) => {
return groups.filter((g) => !g.get("automatic"));
}),
groups: Group.findAll(),
}).then((value) => {
value.channels.forEach((channel) => {
channel.set(