Skip to content

Commit

Permalink
Help Center Remove history icon from the header on chat route (#95992)
Browse files Browse the repository at this point in the history
  • Loading branch information
renancarvalho authored Nov 3, 2024
1 parent 511abd0 commit e02df9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/help-center/src/components/help-center-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ const Content = ( { onMinimize }: { onMinimize?: () => void } ) => {
const { pathname, key } = useLocation();

const shouldDisplayChatHistoryButton =
config.isEnabled( 'help-center-experience' ) && pathname !== '/chat-history';
config.isEnabled( 'help-center-experience' ) &&
pathname !== '/chat-history' &&
pathname !== '/odie';

const isHelpCenterHome = key === 'default';

const headerText = useMemo( () => {
Expand Down

0 comments on commit e02df9d

Please sign in to comment.