defaultSort should be false when no sort is necessary (#3693)

This commit is contained in:
michellethomas
2017-10-23 11:17:28 -07:00
committed by Grace Guo
parent e121a8585e
commit fa07b8d51b

View File

@@ -44,7 +44,7 @@ function viz(slice, payload) {
});
let metrics;
let defaultSort = null;
let defaultSort = false;
if (payload.data.is_group_by) {
metrics = payload.data.columns;
defaultSort = { column: fd.column_collection[0].key, direction: 'desc' };