fix: History sidebar behavior (more leftover bugs from TS conversion)

This commit is contained in:
Tom Moor committed 2021-12-13 23:42:47 -08:00
1 parent 74615bfe37
commit 2f4531ff49
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -86,6 +86,7 @@ const EventListItem = ({ event, latest, document }: Props) => {
return (
<ListItem
small
exact
to={to}
title={
<Time
+1
View File
@@ -6,6 +6,7 @@ import NavLink from "~/components/NavLink";
type Props = {
image?: React.ReactNode;
to?: string;
exact?: boolean;
title: React.ReactNode;
subtitle?: React.ReactNode;
actions?: React.ReactNode;
+1 -1
View File
@@ -8,7 +8,7 @@ import { PaginationParams } from "~/types";
import { client } from "~/utils/ApiClient";
export default class RevisionsStore extends BaseStore<Revision> {
actions = [RPCAction.List];
actions = [RPCAction.List, RPCAction.Info];
constructor(rootStore: RootStore) {
super(rootStore, Revision);