()
| 2009 | this.channels = this.channels.sort((a, b) => a.position - b.position); |
| 2010 | if (parent !== channel.parent) { |
| 2011 | if (parent) parent.children.filter((_) => _ !== channel); |
| 2012 | channel.resolveparent(); |
| 2013 | } else if (parent && !json.parent_id) { |
| 2014 | this.headchannels.push(channel); |
| 2015 | for (const thing of this.channels) { |
| 2016 | thing.children = thing.children.filter((_) => _ !== channel); |
no outgoing calls
no test coverage detected