mirror of
https://github.com/caprover/caprover
synced 2026-05-04 02:30:30 +00:00
force refresh after update
This commit is contained in:
Vendored
+4
@@ -1524,6 +1524,10 @@ function SettingsCtrl($scope, $cookieStore, $rootScope, pageDefinitions,
|
||||
|
||||
captainToast.showToastSuccess('Update process has successfully started...');
|
||||
|
||||
setTimeout(function () {
|
||||
window.location.reload(true);
|
||||
}, 6000);
|
||||
|
||||
$scope.loadingState.enabled = false;
|
||||
|
||||
});
|
||||
|
||||
@@ -60,6 +60,10 @@ function SettingsCtrl($scope, $cookieStore, $rootScope, pageDefinitions,
|
||||
|
||||
captainToast.showToastSuccess('Update process has successfully started...');
|
||||
|
||||
setTimeout(function () {
|
||||
window.location.reload(true);
|
||||
}, 6000);
|
||||
|
||||
$scope.loadingState.enabled = false;
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user