From ec0191f84afbd07b790d9410a0da0f87762c2f5c Mon Sep 17 00:00:00 2001 From: Anais Saraiva Date: Mon, 21 Sep 2026 22:33:55 +0200 Subject: [PATCH] XD --- frontend/src/components/MessageContent.tsx | 4 ++-- frontend/src/components/dialogs.tsx | 22 ++++++++++++++-------- 2 files changed, 16 insertions(+), 10 deletions(-) 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")}
+                  
+                )}