Przeglądaj źródła

Change list sorting to be visible only at DesktopDragHandle mode.

Lauri Ojansivu 5 lat temu
rodzic
commit
f3bc92904c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      models/users.js

+ 2 - 2
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];