diff --git a/webadmin/src/js/update.js b/webadmin/src/js/update.js index fc692e0d7..251fccac9 100644 --- a/webadmin/src/js/update.js +++ b/webadmin/src/js/update.js @@ -20,7 +20,9 @@ app.controller('Controller', ['$scope', '$http', '$interval', function ($scope, if (!data.update && !data.migrate) return $scope.loadWebadmin(); if (data.update) { - if (data.update.percent === -1) { + if (data.update.percent >= 100) { + return $scope.loadWebadmin(); + } else if (data.update.percent === -1) { $scope.title = 'Update Error'; $scope.error = true; $scope.message = data.update.message;