gui: Fix bug saving settings (fixes #8116) (#8117)

This commit is contained in:
Simon Frei 2022-01-16 19:06:50 +01:00 committed by GitHub
parent b2996eee87
commit 45d145a281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1517,7 +1517,7 @@ angular.module('syncthing.core')
// here as well...
$scope.devices = deviceMap($scope.config.devices);
$scope.saveConfig.then(function () {
$scope.saveConfig().then(function () {
if (themeChanged) {
document.location.reload(true);
}