fix(DonationCreate): remove duplicate spaces from getRunnerLabel
This commit is contained in:
		| @@ -52,8 +52,9 @@ | ||||
|   } | ||||
|   loadDonors(); | ||||
|  | ||||
|   const getRunnerLabel = (option) => | ||||
|     option.firstname + " " + (option.middlename || "") + " " + option.lastname+" [#"+option.id+"]"; | ||||
|   const getRunnerLabel = (option) => { | ||||
|     return [option.firstname,option.middlename,option.lastname].join(" ").replace("  "," ") + " [#"+option.id+"]"; | ||||
|   } | ||||
|  | ||||
|   const filterRunners = (label, filterText, option) => { | ||||
|     if (filterText.startsWith("#")) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user