diff --git a/packages/manager/.changeset/pr-10993-fixed-1727189409908.md b/packages/manager/.changeset/pr-10993-fixed-1727189409908.md new file mode 100644 index 00000000000..25343004bb1 --- /dev/null +++ b/packages/manager/.changeset/pr-10993-fixed-1727189409908.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Fixed +--- + +DBaaS V2 logo on empty landing ([#10993](https://github.com/linode/manager/pull/10993)) diff --git a/packages/manager/src/features/Databases/DatabaseLanding/DatabaseEmptyState.tsx b/packages/manager/src/features/Databases/DatabaseLanding/DatabaseEmptyState.tsx index 7060c149b6b..5345366f79c 100644 --- a/packages/manager/src/features/Databases/DatabaseLanding/DatabaseEmptyState.tsx +++ b/packages/manager/src/features/Databases/DatabaseLanding/DatabaseEmptyState.tsx @@ -13,14 +13,20 @@ import { linkAnalyticsEvent, youtubeLinkData, } from './DatabaseLandingEmptyStateData'; +import { useIsDatabasesEnabled } from 'src/features/Databases/utilities'; export const DatabaseEmptyState = () => { const { push } = useHistory(); + const { isDatabasesV2Enabled } = useIsDatabasesEnabled(); const isRestricted = useRestrictedGlobalGrantCheck({ globalGrantType: 'add_databases', }); + if (!isDatabasesV2Enabled) { + headers.logo = ''; + } + return (