Skip to content

Commit

Permalink
Merge pull request #353 from EverythingMe/bug/dashboard_auto_refresh
Browse files Browse the repository at this point in the history
Fix: nulls converted to strings in UI
  • Loading branch information
arikfr committed Jan 19, 2015
2 parents 9a3b25e + 758e27c commit fd37188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rd_ui/app/scripts/services/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
} else if (_.isString(v) && v.match(/^\d{4}-\d{2}-\d{2}/)) {
row[k] = moment(v);
columnTypes[k] = 'date';
} else if (typeof(v) == 'object') {
} else if (typeof(v) == 'object' && v !== null) {
row[k] = JSON.stringify(v);
}
}, this);
Expand Down

0 comments on commit fd37188

Please sign in to comment.