Skip to content

Commit 997d238

Browse files
committed
fix: typo in data cube recognition function
1 parent 0ba41f6 commit 997d238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/weblib/js-api/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default class Data
5151
if (obj === null || obj === undefined) return;
5252

5353
if (UnPivot.isPivot(obj)) {
54-
if (this.is1NF(data)) throw new Error
54+
if (this.is1NF(obj)) throw new Error
5555
( 'inconsistent data form: '
5656
+ 'series/records and dimensions/measures are both set.');
5757
else UnPivot.convert(obj);

0 commit comments

Comments
 (0)