diff --git a/src/app/_components/DownloadedScriptsTab.tsx b/src/app/_components/DownloadedScriptsTab.tsx index 24069f9..1d2f64c 100644 --- a/src/app/_components/DownloadedScriptsTab.tsx +++ b/src/app/_components/DownloadedScriptsTab.tsx @@ -275,7 +275,11 @@ export function DownloadedScriptsTab({ onInstallScript }: DownloadedScriptsTabPr scripts = scripts.filter(script => { if (!script) return false; const scriptType = (script.type ?? '').toLowerCase(); - return filters.selectedTypes.some(type => type.toLowerCase() === scriptType); + + // Map non-standard types to standard categories + const mappedType = scriptType === 'turnkey' ? 'ct' : scriptType; + + return filters.selectedTypes.some(type => type.toLowerCase() === mappedType); }); } diff --git a/src/app/_components/ScriptsGrid.tsx b/src/app/_components/ScriptsGrid.tsx index bfeb3ef..5d82e70 100644 --- a/src/app/_components/ScriptsGrid.tsx +++ b/src/app/_components/ScriptsGrid.tsx @@ -303,7 +303,11 @@ export function ScriptsGrid({ onInstallScript }: ScriptsGridProps) { scripts = scripts.filter(script => { if (!script) return false; const scriptType = (script.type ?? '').toLowerCase(); - return filters.selectedTypes.some(type => type.toLowerCase() === scriptType); + + // Map non-standard types to standard categories + const mappedType = scriptType === 'turnkey' ? 'ct' : scriptType; + + return filters.selectedTypes.some(type => type.toLowerCase() === mappedType); }); }