mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 00:03:33 +00:00
Reworked the monitored status of movie detailed view.
This commit is contained in:
parent
89a7c7841b
commit
3eef317623
2 changed files with 2 additions and 3 deletions
1
frontend/src/@types/api.d.ts
vendored
1
frontend/src/@types/api.d.ts
vendored
|
@ -109,7 +109,6 @@ namespace Item {
|
|||
alternativeTitles: string[];
|
||||
poster: string;
|
||||
year: string;
|
||||
monitored: boolean;
|
||||
};
|
||||
|
||||
type Series = Base &
|
||||
|
|
|
@ -150,14 +150,14 @@ const ItemOverview: FunctionComponent<Props> = (props) => {
|
|||
<Col>
|
||||
<Container fluid className="text-white">
|
||||
<Row>
|
||||
<span hidden={!isMovie(item)}>
|
||||
{isMovie(item) ? (
|
||||
<FontAwesomeIcon
|
||||
className="mx-2 mt-2"
|
||||
title={item.monitored ? "monitored" : "unmonitored"}
|
||||
icon={item.monitored ? faBookmark : farBookmark}
|
||||
size="2x"
|
||||
></FontAwesomeIcon>
|
||||
</span>
|
||||
) : null}
|
||||
<h1>{item.title}</h1>
|
||||
<span hidden={item.alternativeTitles.length === 0}>
|
||||
<OverlayTrigger overlay={alternativePopover}>
|
||||
|
|
Loading…
Reference in a new issue