fix: issue with asset names case-insensitive (#760)
# PR Checklist - [ ] Have you checked if it works normally in all models? *Ignore this if it doesn't use models.* - [ ] Have you checked if it works normally in all web, local, and node hosted versions? If it doesn't, have you blocked it in those versions? - [ ] Have you added type definitions? # Description This PR addresses the issue where asset names were only recognized when entered in lowercase, even if they were originally uppercase. It ensures that asset names are now case-insensitive, aligning with the intended behavior.
This commit is contained in:
@@ -268,7 +268,10 @@ function getModuleByIds(ids:string[]){
|
||||
modules.push(module)
|
||||
}
|
||||
}
|
||||
return deduplicateModuleById(modules)
|
||||
if(db.moduleIntergration){
|
||||
modules = deduplicateModuleById(modules)
|
||||
}
|
||||
return modules
|
||||
}
|
||||
|
||||
function deduplicateModuleById(modules:RisuModule[]){
|
||||
|
||||
Reference in New Issue
Block a user