Move app error handling to simply show the app configure view

This commit is contained in:
Johannes Zellner
2019-09-18 15:54:19 +02:00
parent 14dd1103eb
commit 300ff09a47
3 changed files with 7 additions and 37 deletions
+2 -2
View File
@@ -328,8 +328,8 @@ app.filter('installationStateLabel', function () {
case ISTATES.PENDING_UPDATE: return 'Updating' + waiting;
case ISTATES.PENDING_BACKUP: return 'Backing up' + waiting;
case ISTATES.ERROR: {
if (app.error && app.error.message === 'ETRYAGAIN') return 'DNS Error' + (user.admin ? ' - Click to Repair' : '');
return 'Error' + (user.admin ? ' - Click to Repair' : '');
if (app.error && app.error.message === 'ETRYAGAIN') return 'DNS Error';
return 'Error';
}
case ISTATES.INSTALLED: {
if (app.debugMode) {