diff --git a/apps/desktop/src/components/layout/WelcomeScreen.vue b/apps/desktop/src/components/layout/WelcomeScreen.vue index e2266cfa2d..0306570070 100644 --- a/apps/desktop/src/components/layout/WelcomeScreen.vue +++ b/apps/desktop/src/components/layout/WelcomeScreen.vue @@ -2,6 +2,7 @@ import { useI18n } from "vue-i18n"; import { FilePlus2, Plus, History, Download, Database, Search, ShieldCheck, Sparkles } from "@lucide/vue"; import DatabaseIcon from "@/components/icons/DatabaseIcon.vue"; +import TruncatedTextTooltip from "@/components/ui/TruncatedTextTooltip.vue"; import { connectionDriverLabel, connectionIconType, connectionRedactedNameLabel, connectionRedactedOptionSubtitle } from "@/lib/connection/connectionPresentation"; import type { ConnectionConfig } from "@/types/database"; @@ -34,42 +35,50 @@ const emit = defineEmits<{ }>(); const { t } = useI18n(); + +function welcomeConnectionSubtitle(connection: ConnectionConfig): string { + return connectionRedactedOptionSubtitle(connection) || connectionDriverLabel(connection); +}