diff --git a/frontend/src/components/MessageContent.tsx b/frontend/src/components/MessageContent.tsx index 1075580..06294f7 100644 --- a/frontend/src/components/MessageContent.tsx +++ b/frontend/src/components/MessageContent.tsx @@ -22,7 +22,7 @@ function AttachmentBlock({ header, body, tone }: { header: string; body: string; return ( @@ -42,7 +42,7 @@ function AttachmentBlock({ header, body, tone }: { header: string; body: string; {open && (
diff --git a/frontend/src/components/dialogs.tsx b/frontend/src/components/dialogs.tsx
index db44c08..c7cca09 100644
--- a/frontend/src/components/dialogs.tsx
+++ b/frontend/src/components/dialogs.tsx
@@ -1122,14 +1122,20 @@ function ProvidersSection({ onChanged }: { onChanged?: () => void }) {
                     ••••{st.last4}
                   
                 )}
-                
-                  {t("providers.getKey")}
-                
+                {connected ? (
+                  
+                    {t("providers.getKey")}
+                  
+                ) : (
+                  
+                    {t("providers.getKey")}
+                  
+                )}