angular/projects/ng-devtools-backend/src
Mark Whitfeld 5bf180afb8 fix(devtools): skip node if there is no associated TViewData (rangle/angular-devtools#804)
* fix(backend): skip node if there is no associated TViewData

The code was assuming that the TViewData item at the same index as the node
in LView would contain a data entry. This value can be `null` (which is the
case in our app), which causes a catastrophic failure in the dev tool. By
checking for null, the node is skipped because it cannot determine the
associated component or directive and the dev tool does not die.

fixes issue rangle/angular-devtools#801

* chore: style tweak - add early return to avoid nesting
2021-05-26 11:17:48 -07:00
..
lib fix(devtools): skip node if there is no associated TViewData (rangle/angular-devtools#804) 2021-05-26 11:17:48 -07:00
public-api.ts refactor(devtools): rename id to position 2020-02-24 11:09:10 -05:00
test.ts feat(devtools): added prettier for formatting code on pre-commit (rangle/angular-devtools#50) 2020-02-07 13:25:16 -08:00