diff --git a/ui/app/src/Header/Header.tsx b/ui/app/src/Header/Header.tsx index 843ca4a71..da2231ac4 100644 --- a/ui/app/src/Header/Header.tsx +++ b/ui/app/src/Header/Header.tsx @@ -64,7 +64,7 @@ export const Header: FC = ({ toolbar = {} }) => { ] : actions; return toolbar.left ? [...finalActions, ...toolbar.left] : finalActions; - }, [pages, toolbar.left, docCounts]); + }, [pages, toolbar.left, docCounts, homePage.docId]); const rightActions: ActionItems = useMemo(() => { const actions: ActionItems = [