Closes #929 – Clarify pin feature

This commit is contained in:
Tom Moor
2019-04-08 21:47:27 -07:00
parent 763f57a3dc
commit a3ca3447d1
4 changed files with 21 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ type Props = {
context?: ?string,
showCollection?: boolean,
showPublished?: boolean,
showPin?: boolean,
link?: boolean,
ref?: *,
};
@@ -137,6 +138,7 @@ class DocumentPreview extends React.Component<Props> {
document,
showCollection,
showPublished,
showPin,
highlight,
context,
link,
@@ -172,7 +174,7 @@ class DocumentPreview extends React.Component<Props> {
)}
</Actions>
)}
<StyledDocumentMenu document={document} />
<StyledDocumentMenu document={document} showPin={showPin} />
</Heading>
{!queryIsInTitle && (
<ResultContext