summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Staniewski <cedric@gmx.ca>2016-07-03 21:11:39 +0000
committerJakob Borg <jakob@nym.se>2016-07-03 21:11:39 +0000
commit21f5b16e47a57ca134228b3ac627126f1b6a1581 (patch)
tree84fb5e7131ff931370c2184caeecd807e20fa561
parent223a835f33dd6eddf81faf828fe867a0eb73bccf (diff)
gui: Sort device folder lists by label
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3381
-rwxr-xr-xgui/default/syncthing/core/syncthingController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js
index d78a684e0..dda8fbfd2 100755
--- a/gui/default/syncthing/core/syncthingController.js
+++ b/gui/default/syncthing/core/syncthingController.js
@@ -1453,7 +1453,7 @@ angular.module('syncthing.core')
}
}
- folders.sort();
+ folders.sort(folderCompare);
return folders;
};