mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-25 20:15:37 +02:00
feat(desktop): allow reconfiguration of already-configured providers
Previously, configured providers only showed a checkmark with no way to reconfigure them. Now shows a "Reconfigure" button alongside the checkmark. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -63,7 +63,20 @@ function ProviderCard({
|
||||
</div>
|
||||
|
||||
{provider.available ? (
|
||||
<HugeiconsIcon icon={Tick02Icon} className="size-4 text-primary" />
|
||||
<div className="flex items-center gap-2">
|
||||
<HugeiconsIcon icon={Tick02Icon} className="size-4 text-primary" />
|
||||
<Button
|
||||
size="sm"
|
||||
variant="ghost"
|
||||
className="text-xs text-muted-foreground h-auto py-1 px-2"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
onConfigure(provider)
|
||||
}}
|
||||
>
|
||||
Reconfigure
|
||||
</Button>
|
||||
</div>
|
||||
) : (
|
||||
<Button
|
||||
size="sm"
|
||||
|
||||
Reference in New Issue
Block a user