瀏覽代碼

AMBARI-12955. First adding hosts to created host group is not possible - no any host is displayed (onechiporenko)

Oleg Nechiporenko 10 年之前
父節點
當前提交
4eb219b8a9
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      ambari-web/app/utils/hosts.js

+ 5 - 0
ambari-web/app/utils/hosts.js

@@ -135,6 +135,11 @@ module.exports = {
           this.filteredContentObsOnce();
           this.filteredContentObsOnce();
         },
         },
 
 
+        /**
+         * Default filter-method isn't needed
+         */
+        filter: Em.K,
+
         filterHosts: function () {
         filterHosts: function () {
           var filterText = this.get('filterText');
           var filterText = this.get('filterText');
           var showOnlySelectedHosts = this.get('showOnlySelectedHosts');
           var showOnlySelectedHosts = this.get('showOnlySelectedHosts');