Explorar o código

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

Alex Antonenko %!s(int64=11) %!d(string=hai) anos
pai
achega
b5f48c752b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);
       }
     }
   },