summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-10-30 18:48:54 +0200
committerLauri Ojansivu <x@xet7.org>2019-10-30 18:48:54 +0200
commitf3bc92904c2c054ba832a536599759f02a226f6b (patch)
tree7d62854abaff99071fd3b8883dcab400e96fe9a4
parent5bb99ba0962c4549db8e01c75d83443d37c1c484 (diff)
downloadwekan-f3bc92904c2c054ba832a536599759f02a226f6b.tar.gz
wekan-f3bc92904c2c054ba832a536599759f02a226f6b.tar.bz2
wekan-f3bc92904c2c054ba832a536599759f02a226f6b.zip
Change list sorting to be visible only at DesktopDragHandle mode.
-rw-r--r--models/users.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/users.js b/models/users.js
index 83a224ba..72d64c1c 100644
--- a/models/users.js
+++ b/models/users.js
@@ -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];