fix(core): Fix a bug where snapshotted functions are being run twice … · angular/angular@34ded10 · GitHub
Skip to content

Commit 34ded10

Browse files
arielbackenrothalxhub
authored andcommitted
fix(core): Fix a bug where snapshotted functions are being run twice if they return a nullish/falsey value. (#59073)
Snapshots can return nullish values; don't run the snapshotted function if the snapshotted function returns a nullish/falsey value. PR Close #59073
1 parent 7e61217 commit 34ded10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/core/src/render3/after_render/manager.ts‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)