Change list sorting to be visible only at DesktopDragHandle mode.

This commit is contained in:
Lauri Ojansivu 2019-10-30 18:48:54 +02:00
parent 5bb99ba096
commit f3bc92904c

View file

@ -396,8 +396,8 @@ Users.helpers({
return ret;
},
hasSortBy() {
// if use doesn't have dragHandle, then we can let user to choose sort list by different order
return !this.hasShowDesktopDragHandles();
// if use has dragHandle, then we can let user to choose sort list by different order
return this.hasShowDesktopDragHandles();
},
getListSortBy() {
return this._getListSortBy()[0];