mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-27 10:07:22 +00:00
Add description icon in the history modal
This commit is contained in:
parent
23022f5282
commit
738178a173
1 changed files with 12 additions and 1 deletions
|
@ -5,7 +5,8 @@ import {
|
||||||
useMovieHistory,
|
useMovieHistory,
|
||||||
} from "@/apis/hooks";
|
} from "@/apis/hooks";
|
||||||
import { withModal } from "@/modules/modals";
|
import { withModal } from "@/modules/modals";
|
||||||
import { faFileExcel } from "@fortawesome/free-solid-svg-icons";
|
import { faFileExcel, faInfoCircle } from "@fortawesome/free-solid-svg-icons";
|
||||||
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { Badge, Center, Text } from "@mantine/core";
|
import { Badge, Center, Text } from "@mantine/core";
|
||||||
import { FunctionComponent, useMemo } from "react";
|
import { FunctionComponent, useMemo } from "react";
|
||||||
import { Column } from "react-table";
|
import { Column } from "react-table";
|
||||||
|
@ -177,6 +178,16 @@ const EpisodeHistoryView: FunctionComponent<EpisodeHistoryViewProps> = ({
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
accessor: "description",
|
||||||
|
Cell: ({ value }) => {
|
||||||
|
return (
|
||||||
|
<TextPopover text={value}>
|
||||||
|
<FontAwesomeIcon size="sm" icon={faInfoCircle}></FontAwesomeIcon>
|
||||||
|
</TextPopover>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// Actions
|
// Actions
|
||||||
accessor: "blacklisted",
|
accessor: "blacklisted",
|
||||||
|
|
Loading…
Reference in a new issue