src/components/InstancePicker.js
/*
   * This will filter the list with the given string.
   */
This will filter the list with the given string.
This will filter the list with the given string .
filterList(filter) {
    this.filter = filter.toLowerCase();
    const stateInstances = {};
    const keys = Object.keys(this.instances);
    for (let i = 0; i < keys.length; i += 1) {
      if (!this.isFiltered(keys[i])) {
        stateInstances[keys[i]] = this.instances[keys[i]];
      }
    }
    this.setState({ instances: stateInstances });
  }
filterList ( filter ) { this . filter = filter . toLowerCase ( ) ; const stateInstances = { } ; const keys = Object . keys ( this . instances ) ; for ( let i = 0 ; i < keys . length ; i += 1 ) { if ( ! this . isFiltered ( keys [ i ] ) ) { stateInstances [ keys [ i ] ] = this . instances [ keys [ i ] ] ; } } this . setState ( { instances : stateInstances } ) ; }
This will filter the list with the given string.
This will filter the list with the given string .