Update progress needs to be checked some other way now

This commit is contained in:
Johannes Zellner
2018-11-20 11:29:34 +01:00
parent 082323511a
commit deed95e9a9

View File

@@ -191,9 +191,9 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
Client.onConfig(function (config) {
// check if we are actually updating
if (config.progress.update && config.progress.update.percent !== -1) {
window.location.href = '/update.html';
}
// if (config.progress.update && config.progress.update.percent !== -1) {
// window.location.href = '/update.html';
// }
if (config.cloudronName) {
document.title = config.cloudronName;