mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
gui: Sort folders and devices in advanced config modal (#7192)
This commit is contained in:
parent
4142a431b5
commit
466e8a5cd0
@ -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');
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user