mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-27 09:48:16 -04:00
gui: Sort folders and devices in advanced config modal (#7192)
This commit is contained in:
@@ -2332,6 +2332,8 @@ angular.module('syncthing.core')
|
||||
|
||||
$scope.advanced = function () {
|
||||
$scope.advancedConfig = angular.copy($scope.config);
|
||||
$scope.advancedConfig.devices.sort(deviceCompare);
|
||||
$scope.advancedConfig.folders.sort(folderCompare);
|
||||
$('#advanced').modal('show');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user