mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	fix
This commit is contained in:
		
							parent
							
								
									a8b19f4aa8
								
							
						
					
					
						commit
						a5f54580a9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -32,7 +32,7 @@ const url = computed(() => {
 | 
				
			||||||
	if (char.value) {
 | 
						if (char.value) {
 | 
				
			||||||
		return char2path(char.value);
 | 
							return char2path(char.value);
 | 
				
			||||||
	} else if (props.host == null && !customEmojiName.includes('@')) {
 | 
						} else if (props.host == null && !customEmojiName.includes('@')) {
 | 
				
			||||||
		const found = customEmojis.find(x => x.name === customEmojiName);
 | 
							const found = customEmojis.value.find(x => x.name === customEmojiName);
 | 
				
			||||||
		return found ? found.url : null;
 | 
							return found ? found.url : null;
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;
 | 
							const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue