diff options
author | LASER-Yi <[email protected]> | 2022-06-11 20:24:58 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2022-06-11 20:24:58 +0800 |
commit | 738178a17318390ba2f62d7cd05907544db80e80 (patch) | |
tree | a0cd1db23e21b5bb4d5b5917698aa9b85bb6cb1a | |
parent | 23022f528260a976baa3668691561e2ce6300256 (diff) | |
download | bazarr-1.0.5-beta.25.tar.gz bazarr-1.0.5-beta.25.zip |
Add description icon in the history modalv1.0.5-beta.25
-rw-r--r-- | frontend/src/components/modals/HistoryModal.tsx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/frontend/src/components/modals/HistoryModal.tsx b/frontend/src/components/modals/HistoryModal.tsx index 03c33eae0..9976d5688 100644 --- a/frontend/src/components/modals/HistoryModal.tsx +++ b/frontend/src/components/modals/HistoryModal.tsx @@ -5,7 +5,8 @@ import { useMovieHistory, } from "@/apis/hooks"; 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 { FunctionComponent, useMemo } from "react"; import { Column } from "react-table"; @@ -178,6 +179,16 @@ const EpisodeHistoryView: FunctionComponent<EpisodeHistoryViewProps> = ({ }, }, { + accessor: "description", + Cell: ({ value }) => { + return ( + <TextPopover text={value}> + <FontAwesomeIcon size="sm" icon={faInfoCircle}></FontAwesomeIcon> + </TextPopover> + ); + }, + }, + { // Actions accessor: "blacklisted", Cell: ({ row, value }) => { |