Make backup memory limit slider more predictable with a minimum of 1 GB

This commit is contained in:
Johannes Zellner
2024-02-20 22:12:13 +01:00
parent 54c7757e38
commit df9c7010e2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
Client.onReady(function () { if (!Client.getUserInfo().isAtLeastAdmin) $location.path('/'); });
$scope.SECRET_PLACEHOLDER = SECRET_PLACEHOLDER;
$scope.MIN_MEMORY_LIMIT = 1000 * 1024 * 1024;
$scope.MIN_MEMORY_LIMIT = 1024 * 1024 * 1024; // 1 GB
$scope.config = Client.getConfig();
$scope.user = Client.getUserInfo();