Improve Get Key inputs

This commit is contained in:
Alex Gleason committed 2025-12-03 23:02:50 -06:00
1 parent 6c4bd9bd7c
commit 74b5f60df8
2 files changed
+26 -17

No files matched your search

+2 -1
View File
@@ -808,11 +808,12 @@ export function DeploySettings() {
handleAddPresetProvider(preset);
}
}}
showToggle={!!presetApiKeys[preset.id]}
/>
{preset.apiKeyURL && !presetApiKeys[preset.id] && (
<button
type="button"
className="absolute right-11 top-1/2 -translate-y-1/2 inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-muted-foreground hover:text-foreground transition-colors rounded-md hover:bg-muted"
className="absolute right-3 top-1/2 -translate-y-1/2 inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-muted-foreground hover:text-foreground transition-colors rounded-md hover:bg-muted"
onClick={() => window.open(preset.apiKeyURL, '_blank')}
>
Get Key