Remove 'Active' badge for inactive PyTorch providers in ProviderSettings component

This commit is contained in:
Jamie Pine
2026-02-02 05:23:15 -08:00
parent 409ec2dbb1
commit af7e9814db
@@ -221,7 +221,6 @@ export function ProviderSettings() {
</Label>
</div>
<div className="flex items-center gap-2">
{currentProvider === 'pytorch-cuda' && <Badge variant="outline">Active</Badge>}
{!installedProviders.includes('pytorch-cuda') && (
<Button
onClick={() => handleDownload('pytorch-cuda')}
@@ -274,7 +273,6 @@ export function ProviderSettings() {
</Label>
</div>
<div className="flex items-center gap-2">
{currentProvider === 'pytorch-cpu' && <Badge variant="outline">Active</Badge>}
{!installedProviders.includes('pytorch-cpu') && (
<Button
onClick={() => handleDownload('pytorch-cpu')}
@@ -325,11 +323,6 @@ export function ProviderSettings() {
Bundled with the app - optimized for M-series chips
</div>
</Label>
{currentProvider === 'apple-mlx' && (
<Badge variant="outline" className="ml-2">
Active
</Badge>
)}
</div>
)}