changeset 319 | 78990a8a069b |
parent 284 | 12448de16a63 |
child 355 | 83f5247f3c7a |
--- a/cms/app-client/app/serializers/geostat.js Mon Oct 03 16:32:41 2016 +0200 +++ b/cms/app-client/app/serializers/geostat.js Tue Oct 04 11:58:39 2016 +0200 @@ -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 +});