gui: Fix mistake (fixes #8152, ref #8147) (#8157)

This commit is contained in:
Simon Frei 2022-01-31 17:54:19 +01:00 committed by GitHub
parent 635085d139
commit 2656c1b8e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2027,7 +2027,7 @@ angular.module('syncthing.core')
}
$scope.editingFolderNew = function() {
return $scope.has(['new', 'new-pending'], currentFolder._editing);
return $scope.has(['new', 'new-pending'], $scope.currentFolder._editing);
}
function editFolder(initialTab) {