Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "gooddata", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "GoodData", | ||
@@ -5,0 +5,0 @@ "description": "GoodData JavaScript SDK", |
@@ -121,8 +121,9 @@ // Copyright (C) 2007-2014, GoodData(R) Corporation. All rights reserved. | ||
const { result, status } = r; | ||
// After the retrieving computed tabularData, resolve the promise | ||
executedReport.rawData = | ||
(result && result.tabularDataResult) ? result.tabularDataResult.values : []; | ||
executedReport.isLoaded = true; | ||
executedReport.isEmpty = (status === 204); | ||
return executedReport; | ||
return Object.assign({}, executedReport, { | ||
rawData: get(result, 'tabularDataResult.values', []), | ||
warnings: get(result, 'tabularDataResult.warnings', []), | ||
isLoaded: true, | ||
isEmpty: status === 204 | ||
}); | ||
}); | ||
@@ -129,0 +130,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
21592
882688