mirror of
https://github.com/outline/outline.git
synced 2026-08-03 13:27:25 +03:00
Show search highlight chip on shared documents (#13227)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
f5b39aba8f
commit
396ac980a8
@@ -35,6 +35,7 @@ import TableOfContentsMenu from "~/menus/TableOfContentsMenu";
|
||||
import type Document from "~/models/Document";
|
||||
import { documentEditPath } from "~/utils/routeHelpers";
|
||||
import PublicBreadcrumb from "./PublicBreadcrumb";
|
||||
import { SearchHighlightChip } from "./SearchHighlightChip";
|
||||
|
||||
type Props = {
|
||||
document: Document;
|
||||
@@ -180,6 +181,7 @@ function SharedDocumentHeader({ document }: Props) {
|
||||
}
|
||||
actions={
|
||||
<>
|
||||
<SearchHighlightChip />
|
||||
{hasHeadings && !isMobile && !tocInLeft && <Action>{toc}</Action>}
|
||||
{allowSubscriptions !== false && !user && env.EMAIL_ENABLED && (
|
||||
<SubscribeAction shareId={shareId} documentId={document.id} />
|
||||
|
||||
Reference in New Issue
Block a user