فهرست منبع

Change list sorting to be visible only at DesktopDragHandle mode.

Lauri Ojansivu 6 سال پیش
والد
کامیت
f3bc92904c
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      models/users.js

+ 2 - 2
models/users.js

@@ -396,8 +396,8 @@ Users.helpers({
     return ret;
     return ret;
   },
   },
   hasSortBy() {
   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() {
   getListSortBy() {
     return this._getListSortBy()[0];
     return this._getListSortBy()[0];