@@ -12,8 +12,14 @@
 | 
			
		||||
  export let modal_open;
 | 
			
		||||
  export let current_cards;
 | 
			
		||||
 | 
			
		||||
  const getRunnerLabel = (option) =>
 | 
			
		||||
    option.firstname + " " + (option.middlename || "") + " " + option.lastname;
 | 
			
		||||
  const getRunnerLabel = (option) => 
 | 
			
		||||
  {
 | 
			
		||||
    if(option.middlename){
 | 
			
		||||
      return option.firstname + " " + option.middlename + " " + option.lastname;
 | 
			
		||||
    }
 | 
			
		||||
    return option.firstname + " " + option.lastname;
 | 
			
		||||
  }
 | 
			
		||||
    
 | 
			
		||||
  const filterRunners = (label, filterText, option) =>
 | 
			
		||||
    label.toLowerCase().includes(filterText.toLowerCase()) ||
 | 
			
		||||
    option.value.toString().startsWith(filterText.toLowerCase());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user