mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
Perform a JSON.stringify on values who's type is "object"
This commit is contained in:
parent
b6dbb4e3f8
commit
d4b5d78743
@ -26,6 +26,8 @@
|
||||
} else if (_.isString(v) && v.match(/^\d{4}-\d{2}-\d{2}/)) {
|
||||
row[k] = moment(v);
|
||||
columnTypes[k] = 'date';
|
||||
} else if (typeof(v) == 'object') {
|
||||
row[k] = JSON.stringify(v);
|
||||
}
|
||||
}, this);
|
||||
}, this);
|
||||
|
Loading…
Reference in New Issue
Block a user