diff --git a/src/js/index.js b/src/js/index.js index 7fbd5f6b9..b79bd7fd5 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -206,7 +206,8 @@ app.filter('activeOAuthClients', function () { // this appears when an item in app grid is clicked app.filter('prettyAppMessage', function () { - return function (message) { + return function (app) { + var message = app.message; if (message === 'ETRYAGAIN') return 'The DNS record for this location is not setup correctly. Please verify your DNS settings and repair this app.'; if (message === 'DNS Record already exists') return 'The DNS record for this location already exists. Cloudron does not remove existing DNS records. Manually remove the DNS record and then click on repair.'; return message; @@ -215,7 +216,8 @@ app.filter('prettyAppMessage', function () { // this appears as tool tip in app grid app.filter('shortAppMessage', function () { - return function (message) { + return function (app) { + var message = app.message; if (message === 'ETRYAGAIN') return 'DNS record not setup correctly'; return message; }; diff --git a/src/views/apps.html b/src/views/apps.html index 4aabd8dc9..7585e0499 100644 --- a/src/views/apps.html +++ b/src/views/apps.html @@ -446,7 +446,7 @@