dev #77

Merged
root merged 5 commits from dev into main 2026-06-02 00:38:14 +03:00
Showing only changes of commit 5e9d9050b9 - Show all commits

View File

@@ -1506,7 +1506,13 @@ export class PL24Service {
}
private isP4LegacyPath(linkPath: string): boolean {
return linkPath.includes(".action");
// PSA (Citroen/Peugeot/DS) leaf paths — json-illustrations.action and
// image-board.action — also contain ".action" but MUST route to the
// dedicated PSA handlers (fetchPsaIllustrations / fetchPsaParts), not the
// Ford/Fiat legacy parser. Without this /psa/ guard, the broad ".action"
// match here shadows the PSA dispatch in fetchSubGroupsByPath /
// fetchPartsByPath, so every PSA drill below main-group level returns empty.
return linkPath.includes(".action") && !linkPath.includes("/psa/");
}
private isPsaPath(linkPath: string): boolean {