fix: History sidebar behavior (more leftover bugs from TS conversion)
This commit is contained in:
@@ -86,6 +86,7 @@ const EventListItem = ({ event, latest, document }: Props) => {
|
||||
return (
|
||||
<ListItem
|
||||
small
|
||||
exact
|
||||
to={to}
|
||||
title={
|
||||
<Time
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user