FEATURE: Allow selecting 'automatic' groups for rules (#97)
This commit is contained in:
parent
9bfb3ec4b2
commit
15e8f9470d
|
@ -9,9 +9,7 @@ export default DiscourseRoute.extend({
|
||||||
"id",
|
"id",
|
||||||
params.provider
|
params.provider
|
||||||
),
|
),
|
||||||
groups: Group.findAll().then((groups) => {
|
groups: Group.findAll(),
|
||||||
return groups.filter((g) => !g.get("automatic"));
|
|
||||||
}),
|
|
||||||
}).then((value) => {
|
}).then((value) => {
|
||||||
value.channels.forEach((channel) => {
|
value.channels.forEach((channel) => {
|
||||||
channel.set(
|
channel.set(
|
||||||
|
|
Loading…
Reference in New Issue