Skip to content

Commit 29f2b88

Browse files
committed
Merge pull request #317 from Urigo/bugFix/remove-hashkey
(fix): change item to prop
2 parents 7e1a808 + fe125ba commit 29f2b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/angular-meteor-meteorCollection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ angularMeteorCollections.factory('AngularMeteorCollection', ['$q', '$meteorSubsc
3434

3535
angular.forEach(item, function(prop) {
3636
if (prop.$$hashKey)
37-
delete item.$$hashKey;
37+
delete prop.$$hashKey;
3838
});
3939

4040
if (item._id) { // Performs an update if the _id property is set.

0 commit comments

Comments
 (0)