diff --git a/src/app/HeaderDropdown/HeaderDropdown.tsx b/src/app/HeaderDropdown/HeaderDropdown.tsx index 4ba3ed6..07fc24a 100644 --- a/src/app/HeaderDropdown/HeaderDropdown.tsx +++ b/src/app/HeaderDropdown/HeaderDropdown.tsx @@ -54,6 +54,7 @@ export const HeaderDropdown: React.FunctionComponent = ({ } }; + const selectedChatbotName = selectedChatbot?.displayName ?? selectedChatbot?.name; return ( = ({ toggle={(toggleRef: React.Ref) => { return ( - Red Hat AI Assistant + {selectedChatbotName ?? 'Red Hat AI Assistant'} ); }}