Merge pull request #3724 from SillyTavern/fix/expressions-upload-new

Fix not being able to upload sprite when no sprite existed for an expression
This commit is contained in:
Cohee
2025-03-19 09:51:45 +02:00
committed by GitHub

View File

@@ -1814,7 +1814,7 @@ async function onClickExpressionUpload(event) {
} }
} }
} else { } else {
spriteName = withoutExtension(clickedFileName); spriteName = withoutExtension(expression);
} }
if (!spriteName) { if (!spriteName) {