diff --git a/packages/manager/src/features/Databases/DatabaseDetail/DatabaseSummary/DatabaseSummaryConnectionDetails.tsx b/packages/manager/src/features/Databases/DatabaseDetail/DatabaseSummary/DatabaseSummaryConnectionDetails.tsx
index 2d9611e280a..e3943379c98 100644
--- a/packages/manager/src/features/Databases/DatabaseDetail/DatabaseSummary/DatabaseSummaryConnectionDetails.tsx
+++ b/packages/manager/src/features/Databases/DatabaseDetail/DatabaseSummary/DatabaseSummaryConnectionDetails.tsx
@@ -116,11 +116,11 @@ export const DatabaseSummaryConnectionDetails = (props: Props) => {
const readOnlyHost = () => {
const defaultValue = isLegacy ? '-' : 'N/A';
const value = readOnlyHostValue ? readOnlyHostValue : defaultValue;
- const displayCopyTooltip = value !== '-' && value !== 'N/A';
+ const hasHost = value !== '-' && value !== 'N/A';
return (
<>
{value}
- {value && displayCopyTooltip && (
+ {value && hasHost && (
)}
{isLegacy && (
@@ -130,6 +130,14 @@ export const DatabaseSummaryConnectionDetails = (props: Props) => {
text={privateHostCopy}
/>
)}
+ {!isLegacy && hasHost && (
+
+ )}
>
);
};