mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-01-26 19:19:57 +00:00
fix chants search issue
This commit is contained in:
@@ -8,7 +8,7 @@ class ChantParser extends BaseTagParser {
|
||||
if (tagword !== "<" && tagword !== "<c:") {
|
||||
let searchTerm = tagword.replace("<c:", "").replace("<", "");
|
||||
let filterCondition = x => x.term.toLowerCase().includes(searchTerm);
|
||||
tempResults = loras.filter(x => filterCondition(x)); // Filter by tagword
|
||||
tempResults = chants.filter(x => filterCondition(x)); // Filter by tagword
|
||||
} else {
|
||||
tempResults = chants;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user