mirror of https://github.com/apache/superset.git
defaultSort should be false when no sort is necessary (#3693)
This commit is contained in:
parent
e121a8585e
commit
fa07b8d51b
|
@ -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' };
|
||||
|
|
Loading…
Reference in New Issue