Method
removeEditorWindow
(resourceName: string, id: string)
Source from the content-addressed store, hash-verified
| 230 | } |
| 231 | |
| 232 | removeEditorWindow(resourceName: string, id: string) { |
| 233 | const index = this.windows.findIndex(d => (d.resource?.name === resourceName && (d.title === id || d.resource.id === id))); |
| 234 | this.remove(index); |
| 235 | } |
| 236 | |
| 237 | removeEditorWindowByResource(resource: IResource) { |
| 238 | const index = this.windows.findIndex(d => (d.resource?.id === resource.id)); |
Callers
nothing calls this directly
Tested by
no test coverage detected