Skip to content

Commit b093866

Browse files
committed
Do not replace LCSC category slashes with arrows, as these are actually their names, not level separators
1 parent 065ef9f commit b093866

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Services/InfoProviderSystem/Providers/LCSCProvider.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ private function getPartDetail(array $product): PartDetailDTO
197197
$category = $product['parentCatalogName'] ?? null;
198198
if (isset($product['catalogName'])) {
199199
$category = ($category ?? '') . ' -> ' . $product['catalogName'];
200-
201-
// Replace the / with a -> for better readability
202-
$category = str_replace('/', ' -> ', $category);
203200
}
204201

205202
return new PartDetailDTO(

0 commit comments

Comments
 (0)