You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/08/20 14:39:45 UTC

[ambari] branch branch-2.7 updated: AMBARI-24505 host component out of sync error message on version screen

This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new cacdbd0  AMBARI-24505 host component out of sync error message on version screen
cacdbd0 is described below

commit cacdbd06b68990789bd0127e6bad132022078a63
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Mon Aug 20 14:39:41 2018 +0300

    AMBARI-24505 host component out of sync error message on version screen
---
 ambari-web/app/views/main/admin/stack_upgrade/versions_view.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js b/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
index 0d4ad83..d76a32a 100644
--- a/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
+++ b/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
@@ -144,7 +144,10 @@ App.MainAdminStackVersionsView = Em.View.extend({
    * @type {?Em.Object}
    */
   stackVersionError: function() {
-    const errorStack = this.get('repoVersions').filterProperty('status', 'OUT_OF_SYNC').findProperty('isStandard');
+    const errorStack = this.get('repoVersions')
+    .filterProperty('isVisible')
+    .filterProperty('status', 'OUT_OF_SYNC')
+    .findProperty('isStandard');
     if (errorStack) {
       return Em.Object.create({
         repoId: errorStack.get('id'),