mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-05 12:57:55 +00:00
gui: Ensure failed items folder path contains separator (fixes #4143)
Windows specific, due to how we handle folder paths. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4149
This commit is contained in:
parent
1d15b8be9b
commit
4db662e576
@ -1651,6 +1651,9 @@ angular.module('syncthing.core')
|
||||
$scope.showFailed = function (folder) {
|
||||
$scope.failedCurrent = $scope.failed[folder];
|
||||
$scope.failedFolderPath = $scope.folders[folder].path;
|
||||
if ($scope.failedFolderPath[$scope.failedFolderPath.length - 1] !== $scope.system.pathSeparator) {
|
||||
$scope.failedFolderPath += $scope.system.pathSeparator;
|
||||
}
|
||||
$('#failed').modal().on('hidden.bs.modal', function () {
|
||||
$scope.failedCurrent = undefined;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user