Skip to content

Commit

Permalink
Update index.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmanbear authored Aug 8, 2024
1 parent b6b41d7 commit 7dc7bf7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/Generator/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ export function Generator() {
};

const getFilamentMatchKeyword = (filament) => {
return filament.includes('PLA') ? 'Standard' : filament;
if (filament.includes('PLA')) {
return 'Standard';
}
if (filament.includes('PETG')) {
return 'PETG';
}
return filament;
};

const filtered = processesList.filter(process => {
Expand Down

0 comments on commit 7dc7bf7

Please sign in to comment.