mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-03-02 03:40:02 +00:00
will add new Tag in translation to tag list
This commit is contained in:
@@ -532,11 +532,15 @@ onUiUpdate(function () {
|
||||
} else {
|
||||
allTranslations.map(x => {
|
||||
if (x[2]) {
|
||||
for (let i = 0; i < allTags.length; i++) {
|
||||
let i = 0
|
||||
for (; i < allTags.length; i++) {
|
||||
if (x[0] === allTags[i][0] && x[1] === allTags[i][1]) {
|
||||
allTags[i][2] = x[2];
|
||||
}
|
||||
}
|
||||
if (i === allTags.length) {
|
||||
allTags.push(x);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user