Make the user confirm the post install message on first time clicking the app icon

This commit is contained in:
Johannes Zellner
2018-06-14 15:46:55 +02:00
parent 461fb0144e
commit 37c8b2b57f
5 changed files with 73 additions and 3 deletions
+3
View File
@@ -1056,6 +1056,9 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
app.message = installationProgress.replace(/.*, /,'');
}
// amend the post install confirm state
app.pendingPostInstallConfirmation = !!localStorage['confirmPostInstall_' + app.id];
return app;
};
+1 -1
View File
@@ -236,7 +236,7 @@ app.filter('ignoreAdminGroup', function () {
app.filter('applicationLink', function() {
return function(app) {
if (app.installationState === ISTATES.INSTALLED && app.health === HSTATES.HEALTHY) {
if (app.installationState === ISTATES.INSTALLED && app.health === HSTATES.HEALTHY && !app.pendingPostInstallConfirmation) {
return 'https://' + app.fqdn;
} else {
return '';