Skip to content

Commit

Permalink
Fix: ChartsCtrl data
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinze authored and Rinze committed Nov 19, 2015
1 parent e2f88f4 commit a8649cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csComp/directives/Widgets/Charts/ChartsCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module ChartsWidget {
if (msg.data.item.hasOwnProperty("values")) {
d.spec.data = msg.data.item.values;
} else {
d.spec = msg.data.item;
d.spec.data = msg.data.item;
}
// if (msg.data.item && Object.prototype.toString.call(msg.data.item) === '[object Array]' ) {
// d.spec.data = msg.data.item;
Expand Down

0 comments on commit a8649cc

Please sign in to comment.