forked from open-webui/open-webui
		
	npm run format
This commit is contained in:
		
							parent
							
								
									c52cc46d2c
								
							
						
					
					
						commit
						ac470e64e0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -111,7 +111,7 @@ export const generateInitialsImage = (name) => { | |||
| 	ctx.textBaseline = 'middle'; | ||||
| 	const firstNameInitial = name[0]; | ||||
| 	const lastNameInitial = name.lastIndexOf(' ') > -1 ? name[name.lastIndexOf(' ') + 1] : ''; | ||||
|     const initials = `${firstNameInitial}${lastNameInitial}`.toUpperCase() | ||||
| 	const initials = `${firstNameInitial}${lastNameInitial}`.toUpperCase(); | ||||
| 
 | ||||
| 	ctx.fillText(initials.toUpperCase(), canvas.width / 2, canvas.height / 2); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Danny Liu
						Danny Liu