will add new Tag in translation to tag list

This commit is contained in:
sgmklp
2022-10-17 03:30:22 +08:00
parent d8ec8793fa
commit 59ccb7ac19

View File

@@ -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);
}
}
});
}