Quellcode durchsuchen

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

Oleg Nechiporenko vor 9 Jahren
Ursprung
Commit
4eb219b8a9
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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');