(entries)
| 150 | } |
| 151 | |
| 152 | selectEntries(entries) { |
| 153 | const missingTypes = App.allEventTypes; |
| 154 | groupBy(entries, each => each.constructor, true).forEach(group => { |
| 155 | this.selectEntriesOfSingleType(group.entries); |
| 156 | missingTypes.delete(group.key); |
| 157 | }); |
| 158 | missingTypes.forEach( |
| 159 | type => this.selectEntriesOfSingleType([], type, false)); |
| 160 | } |
| 161 | |
| 162 | selectEntriesOfSingleType(entries, type, focusView = true) { |
| 163 | const entryType = entries[0]?.constructor ?? type; |
no test coverage detected