mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 08:13:14 +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[];
|
alternativeTitles: string[];
|
||||||
poster: string;
|
poster: string;
|
||||||
year: string;
|
year: string;
|
||||||
monitored: boolean;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
type Series = Base &
|
type Series = Base &
|
||||||
|
|
|
@ -150,14 +150,14 @@ const ItemOverview: FunctionComponent<Props> = (props) => {
|
||||||
<Col>
|
<Col>
|
||||||
<Container fluid className="text-white">
|
<Container fluid className="text-white">
|
||||||
<Row>
|
<Row>
|
||||||
<span hidden={!isMovie(item)}>
|
{isMovie(item) ? (
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
className="mx-2 mt-2"
|
className="mx-2 mt-2"
|
||||||
title={item.monitored ? "monitored" : "unmonitored"}
|
title={item.monitored ? "monitored" : "unmonitored"}
|
||||||
icon={item.monitored ? faBookmark : farBookmark}
|
icon={item.monitored ? faBookmark : farBookmark}
|
||||||
size="2x"
|
size="2x"
|
||||||
></FontAwesomeIcon>
|
></FontAwesomeIcon>
|
||||||
</span>
|
) : null}
|
||||||
<h1>{item.title}</h1>
|
<h1>{item.title}</h1>
|
||||||
<span hidden={item.alternativeTitles.length === 0}>
|
<span hidden={item.alternativeTitles.length === 0}>
|
||||||
<OverlayTrigger overlay={alternativePopover}>
|
<OverlayTrigger overlay={alternativePopover}>
|
||||||
|
|
Loading…
Reference in a new issue