Browse Source

AMBARI-9888 Hosts status filter broken. (atkach)

Andrii Tkach 10 năm trước cách đây
mục cha
commit
c313023bd2
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      ambari-web/app/views/main/host.js

+ 9 - 0
ambari-web/app/views/main/host.js

@@ -798,6 +798,15 @@ App.MainHostView = App.TableView.extend(App.TableServerViewMixin, {
         this.get('parentView').updateFilter(category.get('column'), category.get('filterValue'), category.get('type'));
       }
     },
+
+    /**
+     * set value
+     * @param {string} value
+     */
+    setValue: function (value) {
+      this.set('value', value);
+    },
+
     clearFilter: function() {
       this.get('categories').setEach('isActive', false);
       this.set('value', '');