diff --git a/gui/syncthing/core/syncthingController.js b/gui/syncthing/core/syncthingController.js index 9710880e..a104e881 100755 --- a/gui/syncthing/core/syncthingController.js +++ b/gui/syncthing/core/syncthingController.js @@ -1057,6 +1057,7 @@ angular.module('syncthing.core') selectedDevices: {} }; $scope.currentFolder.rescanIntervalS = 60; + $scope.currentFolder.minDiskFreePct = 1; $scope.currentFolder.order = "random"; $scope.currentFolder.fileVersioningSelector = "none"; $scope.currentFolder.trashcanClean = 0; @@ -1077,6 +1078,7 @@ angular.module('syncthing.core') id: folder, selectedDevices: {}, rescanIntervalS: 60, + minDiskFreePct: 1, fileVersioningSelector: "none", trashcanClean: 0, simpleKeep: 5, diff --git a/gui/syncthing/folder/editFolderModalView.html b/gui/syncthing/folder/editFolderModalView.html index b30f4c4c..0e5c336e 100644 --- a/gui/syncthing/folder/editFolderModalView.html +++ b/gui/syncthing/folder/editFolderModalView.html @@ -37,6 +37,13 @@ The rescan interval must be a non-negative number of seconds.
++ The minimum disk free percentage must be a non-negative number between 0 and 100 (inclusive). +
+