diff --git a/assets/js/ui-models/uiArray.array.js b/assets/js/ui-models/uiArray.array.js index e44ebdf..5f8eab2 100644 --- a/assets/js/ui-models/uiArray.array.js +++ b/assets/js/ui-models/uiArray.array.js @@ -112,7 +112,7 @@ theModule.uiArray = function (factoryId, definition) { if (!matchingNewItem) return; - angular.extend(existingItem, potentialMatchingItem); + angular.extend(existingItem, matchingNewItem); }); // Examine provided items- for any new ones, push them onto self @@ -155,4 +155,4 @@ theModule.uiArray = function (factoryId, definition) { // Finally, return for direct use via DI return singleton; }]); -}; \ No newline at end of file +};