feat: Clicking the last updated time should open document history sidebar

Ref #1285
This commit is contained in:
Tom Moor
2020-08-11 21:01:03 -07:00
parent 7abe375b3e
commit 810dc5a061
7 changed files with 172 additions and 155 deletions

View File

@@ -7,9 +7,9 @@ import styled, { withTheme } from "styled-components";
import Document from "models/Document";
import Badge from "components/Badge";
import Button from "components/Button";
import DocumentMeta from "components/DocumentMeta";
import Flex from "components/Flex";
import Highlight from "components/Highlight";
import PublishingInfo from "components/PublishingInfo";
import Tooltip from "components/Tooltip";
import DocumentMenu from "menus/DocumentMenu";
import { newDocumentUrl } from "utils/routeHelpers";
@@ -129,7 +129,7 @@ class DocumentPreview extends React.Component<Props> {
processResult={this.replaceResultMarks}
/>
)}
<PublishingInfo
<DocumentMeta
document={document}
showCollection={showCollection}
showPublished={showPublished}