fix: prioritize SubMiner definitions in Yomitan

This commit is contained in:
2026-03-06 22:01:20 -08:00
parent ca0eec568c
commit 1fd3f0575b
4 changed files with 123 additions and 3 deletions

View File

@@ -656,7 +656,7 @@ test('getYomitanDictionaryInfo requests dictionary info via backend action', asy
assert.match(scriptValue, /getDictionaryInfo/);
});
test('dictionary settings helpers upsert and remove dictionary entries', async () => {
test('dictionary settings helpers upsert and remove dictionary entries without reordering', async () => {
const scripts: string[] = [];
const optionsFull = {
profileCurrent: 0,

View File

@@ -1676,7 +1676,7 @@ export async function upsertYomitanDictionarySettings(
continue;
}
dictionaries.unshift(createDefaultDictionarySettings(normalizedTitle, true));
dictionaries.push(createDefaultDictionarySettings(normalizedTitle, true));
changed = true;
}