Explorar el Código

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

Alex Antonenko hace 11 años
padre
commit
b5f48c752b
Se han modificado 1 ficheros con 2 adiciones y 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);
       }
     }
   },