Skip to content

Commit 33b47bd

Browse files
committed
fix(view): fix DirectivePropertyGroupMemento to return a new group instead of null
1 parent 8db77f2 commit 33b47bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/compiler/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ class DirectivePropertyGroupMemento {
535535
var id = elementInjectorIndex * 100 + directiveIndex;
536536

537537
if (! MapWrapper.contains(_groups, id)) {
538-
return MapWrapper.set(_groups, id, new DirectivePropertyGroupMemento(elementInjectorIndex, directiveIndex));
538+
MapWrapper.set(_groups, id, new DirectivePropertyGroupMemento(elementInjectorIndex, directiveIndex));
539539
}
540540
return MapWrapper.get(_groups, id);
541541
}

0 commit comments

Comments
 (0)