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

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);
}