Browse Source

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

Alex Antonenko 11 năm trước cách đây
mục cha
commit
b5f48c752b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);
       }
     }
   },