diff options
Diffstat (limited to 'frontend/src/pages/views/ItemOverview.tsx')
-rw-r--r-- | frontend/src/pages/views/ItemOverview.tsx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/frontend/src/pages/views/ItemOverview.tsx b/frontend/src/pages/views/ItemOverview.tsx index 43d97b3e0..02a847878 100644 --- a/frontend/src/pages/views/ItemOverview.tsx +++ b/frontend/src/pages/views/ItemOverview.tsx @@ -1,5 +1,5 @@ import { Language } from "@/components/bazarr"; -import { BuildKey, isMovie } from "@/utilities"; +import { BuildKey } from "@/utilities"; import { useLanguageProfileBy, useProfileItemsToLanguages, @@ -165,14 +165,12 @@ const ItemOverview: FunctionComponent<Props> = (props) => { <Group align="flex-start" noWrap className={classes.group}> <Title my={0}> <Text inherit color="white"> - {item && isMovie(item) ? ( - <Box component="span" mr={12}> - <FontAwesomeIcon - title={item.monitored ? "monitored" : "unmonitored"} - icon={item.monitored ? faBookmark : farBookmark} - ></FontAwesomeIcon> - </Box> - ) : null} + <Box component="span" mr={12}> + <FontAwesomeIcon + title={item?.monitored ? "unmonitored" : "monitored"} + icon={item?.monitored ? faBookmark : farBookmark} + ></FontAwesomeIcon> + </Box> {item?.title} </Text> </Title> |