@crowdin/app-project-module 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -35515,14 +35515,12 @@ Defaulting to \`null\`.`;
|
|
|
35515
35515
|
const includedIds = new Set();
|
|
35516
35516
|
if (query) {
|
|
35517
35517
|
model.items.forEach((item) => {
|
|
35518
|
-
if (!matchesSearch(item, query)) {
|
|
35518
|
+
if (item.isLanguage || !matchesSearch(item, query)) {
|
|
35519
35519
|
return;
|
|
35520
35520
|
}
|
|
35521
35521
|
includedIds.add(item.id);
|
|
35522
35522
|
getAncestorIds(model, item.id).forEach((id) => includedIds.add(id));
|
|
35523
|
-
|
|
35524
|
-
getDescendantIds(model, item.id).forEach((id) => includedIds.add(id));
|
|
35525
|
-
}
|
|
35523
|
+
getDescendantIds(model, item.id).forEach((id) => includedIds.add(id));
|
|
35526
35524
|
});
|
|
35527
35525
|
}
|
|
35528
35526
|
const result = [];
|
|
@@ -36386,7 +36384,7 @@ Defaulting to \`null\`.`;
|
|
|
36386
36384
|
if (!isFile(item)) {
|
|
36387
36385
|
return result;
|
|
36388
36386
|
}
|
|
36389
|
-
const languageIds =
|
|
36387
|
+
const languageIds = displayedLanguagesRef.current
|
|
36390
36388
|
.filter((language) => selected.has(`${item.id}__${language.id}`))
|
|
36391
36389
|
.map((language) => String(language.id));
|
|
36392
36390
|
if (languageIds.length) {
|