We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dea08fb commit 8d5c573Copy full SHA for 8d5c573
source/js/DataSource.js
@@ -222,9 +222,11 @@ DataSource.prototype.getCurrentData = function (callback) {
222
223
})(data));
224
} else if (mdxType === "mdx") {
225
- if (!data || !data.Data || !data.Cols
226
- || (!data.Data.length && !((data.Cols[0]||{}).tuples||[]).length)
227
- && !((data.Cols[1]||{}).tuples||[]).length) {
+ if (
+ !data || !data.Data || !data.Data.length || !data.Cols
+ || (!data.Data.length && !((data.Cols[0]||{}).tuples||[]).length)
228
+ && !((data.Cols[1]||{}).tuples||[]).length
229
+ ) {
230
return callback({
231
error: pivotLocale.get(4)
232
});
0 commit comments