diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/AssetsOverview.tsx b/js_modules/dagster-ui/packages/ui-core/src/assets/AssetsOverview.tsx index f356bbb6fbdde..5cc83de95ec2a 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/assets/AssetsOverview.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/assets/AssetsOverview.tsx @@ -264,6 +264,7 @@ export const AssetsOverview = ({viewerName}: {viewerName?: string}) => { timezone: [timezone], } = useContext(TimeContext); const recentlyVisitedAssets = fetchRecentlyVisitedAssetsFromLocalStorage(); + const viewerFirstName = viewerName?.split(' ')[0]; if (assetsQuery.loading) { return ( @@ -280,7 +281,7 @@ export const AssetsOverview = ({viewerName}: {viewerName?: string}) => { } return ( - <> + } @@ -291,7 +292,7 @@ export const AssetsOverview = ({viewerName}: {viewerName?: string}) => { {getGreeting(timezone)} - {viewerName ? `, ${viewerName}` : ''} + {viewerFirstName ? `, ${viewerFirstName}` : ''} View all @@ -388,7 +389,7 @@ export const AssetsOverview = ({viewerName}: {viewerName?: string}) => { )} - + ); };