src/common/config/index.js
/**
   * Returns the provided array fo teams with existing teams filtered out
   * @param {array} teams array of teams to check for already defined teams
   */
Returns the provided array fo teams with existing teams filtered out
@param {array} teams array of teams to check for already defined teams
Returns the provided array fo teams with existing teams filtered out @param { array } teams array of teams to check for already defined teams
filterOutPredefinedTeams(teams) {
    let newTeams = teams;
    newTeams = newTeams.filter((newTeam) => {
      return this.predefinedTeams.findIndex((existingTeam) => newTeam.url === existingTeam.url) === -1; 
    });
    return newTeams;
  }
filterOutPredefinedTeams ( teams ) { let newTeams = teams ; newTeams = newTeams . filter ( ( newTeam ) => { return this . predefinedTeams . findIndex ( ( existingTeam ) => newTeam . url === existingTeam . url ) === - 1 ; } ) ; return newTeams ; }
Returns the provided array fo teams with existing teams filtered out
 @param {array} teams array of teams to check for already defined teams
Returns the provided array fo teams with existing teams filtered out @param { array } teams array of teams to check for already defined teams
// filter out predefined teams // eslint-disable-line max-nested-callbacks