mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Reduce console spam on expressions
This commit is contained in:
		| @@ -533,6 +533,11 @@ function drawSpritesList(character, labels, sprites) { | ||||
|     $('.expression_settings').show(); | ||||
|     $('#image_list').empty(); | ||||
|     $('#image_list').data('name', character); | ||||
|  | ||||
|     if (!Array.isArray(labels)) { | ||||
|         return []; | ||||
|     } | ||||
|  | ||||
|     labels.sort().forEach((item) => { | ||||
|         const sprite = sprites.find(x => x.label == item); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user