Browse Source

AMBARI-5279. Jobs UI - refresh new jobs link needlessly showing up (alexantonenko)

Alex Antonenko 11 years ago
parent
commit
b5f48c752b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ambari-web/app/controllers/main/jobs_controller.js

+ 2 - 0
ambari-web/app/controllers/main/jobs_controller.js

@@ -359,6 +359,8 @@ App.MainJobsController = Em.Controller.extend({
       if (this.get('lastJobID') !== lastReceivedID) {
         this.set('lastJobID', lastReceivedID);
         this.set('hasNewJobs', true);
+      }else{
+        this.set('hasNewJobs', false);
       }
     }
   },