summaryrefslogtreecommitdiffstats
path: root/models/users.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-10-30 20:33:53 +0200
committerLauri Ojansivu <x@xet7.org>2019-10-30 20:33:53 +0200
commitacc6bc07589038fb8369865915f529453103f47d (patch)
tree4168284d02ae4304e427a9b78b5c8e639d6283dc /models/users.js
parentf3bc92904c2c054ba832a536599759f02a226f6b (diff)
parent3308d90a3a6a1ddeed33966767937cd2c2c90cb5 (diff)
downloadwekan-acc6bc07589038fb8369865915f529453103f47d.tar.gz
wekan-acc6bc07589038fb8369865915f529453103f47d.tar.bz2
wekan-acc6bc07589038fb8369865915f529453103f47d.zip
Merge branch 'master' of https://github.com/whowillcare/wekan into whowillcare-master
Diffstat (limited to 'models/users.js')
-rw-r--r--models/users.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/users.js b/models/users.js
index 72d64c1c..83a224ba 100644
--- a/models/users.js
+++ b/models/users.js
@@ -396,8 +396,8 @@ Users.helpers({
return ret;
},
hasSortBy() {
- // if use has dragHandle, then we can let user to choose sort list by different order
- return this.hasShowDesktopDragHandles();
+ // if use doesn't have dragHandle, then we can let user to choose sort list by different order
+ return !this.hasShowDesktopDragHandles();
},
getListSortBy() {
return this._getListSortBy()[0];