_onSearchInputChanged(searchInput) {
    if(searchInput) {
      this.listedProjects = this.projects.filter(project => {
        return project.name.toLowerCase().includes(searchInput.toLowerCase());
      });
    } else {
      // no search input, show all projects that were loaded
      this.listedProjects = this.projects;
    }
  }
/**
   * Gets called when the search input gets updated by the user. Updates listedProjects array correspondingly.
   * @param searchInput Input from the user entered in the input field for searching projects by name.
   * @private
   */
Gets called when the search input gets updated by the user. Updates listedProjects array correspondingly.
@param searchInput Input from the user entered in the input field for searching projects by name.
@private
Gets called when the search input gets updated by the user . Updates listedProjects array correspondingly . @param searchInput Input from the user entered in the input field for searching projects by name . @private
_onSearchInputChanged(searchInput) {
    if(searchInput) {
      this.listedProjects = this.projects.filter(project => {
        return project.name.toLowerCase().includes(searchInput.toLowerCase());
      });
    } else {
      this.listedProjects = this.projects;
    }
  }
_onSearchInputChanged ( searchInput ) { if ( searchInput ) { this . listedProjects = this . projects . filter ( project => { return project . name . toLowerCase ( ) . includes ( searchInput . toLowerCase ( ) ) ; } ) ; } else { this . listedProjects = this . projects ; } }
Gets called when the search input gets updated by the user.
Gets called when the search input gets updated by the user .
// no search input, show all projects that were loaded