fix(view): fix DirectivePropertyGroupMemento to return a new group instead of null
This commit is contained in:
parent
8db77f2405
commit
33b47bd5d4
|
@ -535,7 +535,7 @@ class DirectivePropertyGroupMemento {
|
|||
var id = elementInjectorIndex * 100 + directiveIndex;
|
||||
|
||||
if (! MapWrapper.contains(_groups, id)) {
|
||||
return MapWrapper.set(_groups, id, new DirectivePropertyGroupMemento(elementInjectorIndex, directiveIndex));
|
||||
MapWrapper.set(_groups, id, new DirectivePropertyGroupMemento(elementInjectorIndex, directiveIndex));
|
||||
}
|
||||
return MapWrapper.get(_groups, id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue