fix(web): remove none filter for server deploy

This commit is contained in:
Aman Varshney
2025-08-21 18:53:16 +05:30
parent bf14465b64
commit 869063df7e

View File

@@ -1826,15 +1826,7 @@ const StackBuilder = () => {
TECH_OPTIONS[categoryKey as keyof typeof TECH_OPTIONS] || []; TECH_OPTIONS[categoryKey as keyof typeof TECH_OPTIONS] || [];
const categoryDisplayName = getCategoryDisplayName(categoryKey); const categoryDisplayName = getCategoryDisplayName(categoryKey);
const filteredOptions = categoryOptions.filter((opt) => { const filteredOptions = categoryOptions;
if (
categoryKey === "serverDeploy" &&
stack.runtime === "workers"
) {
return opt.id === "wrangler" || opt.id === "alchemy";
}
return true;
});
if (filteredOptions.length === 0) return null; if (filteredOptions.length === 0) return null;