-
Committer:
MAAS Lander
-
Author(s):
Blake Rouse
-
Date:
2015-06-03 13:50:46 UTC
-
mfrom:
(3980.1.1 fix-1461256)
-
Revision ID:
maas_lander-20150603135046-i14rth9xmyqh7jqs
[r=rvb][bug=1461256][author=blake-rouse] Replace item in array on create action if the item already exists.
This fixes the issue where an object with the same pk exists in an array. This is not allowed by angular and the 'track by' expression and will cause angular to error.