changeset 339 | 766af1228b05 |
parent 319 | 78990a8a069b |
child 355 | 83f5247f3c7a |
--- a/cms/app-client/app/serializers/geostat.js Sun Oct 16 22:23:31 2016 +0530 +++ b/cms/app-client/app/serializers/geostat.js Sun Oct 16 23:19:57 2016 +0530 @@ -4,7 +4,7 @@ normalizeResponse: function(store, primaryModelClass, payload) { var data = []; - Object.keys(payload).forEach(function(key) { + Object.keys(payload['geostats']).forEach(function(key) { data.push({ 'id': key, 'type': 'geostat', @@ -18,4 +18,4 @@ }; } -}); \ No newline at end of file +});