()
| 367 | } |
| 368 | |
| 369 | getInstances() { |
| 370 | let newArr = new Array<Instance>(); |
| 371 | this.instances.forEach((instance) => { |
| 372 | if (!this.isGlobalInstance(instance)) newArr.push(instance); |
| 373 | }); |
| 374 | newArr = newArr.sort((a, b) => (a.config.nickname > a.config.nickname ? 1 : -1)); |
| 375 | return newArr; |
| 376 | } |
| 377 | |
| 378 | isGlobalInstance(instance: Instance) { |
| 379 | return ( |
no test coverage detected