()
| 144 | } |
| 145 | |
| 146 | public reset(): void { |
| 147 | const { builtInStatusProblems } = this.builtinService.getModules(); |
| 148 | this.setState({ |
| 149 | ...this.state, |
| 150 | data: [], |
| 151 | }); |
| 152 | if (builtInStatusProblems) { |
| 153 | this.updateStatus(builtInStatusProblems); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | public onSelect(callback: (node: IProblemsTreeNode) => void) { |
| 158 | this.subscribe(ProblemsEvent.onSelect, callback); |
nothing calls this directly
no test coverage detected