1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 08:13:14 +00:00

Fixed missing subtitles language badge in movies view to show if it's forced or hi.

This commit is contained in:
morpheus65535 2021-07-14 07:15:38 -04:00
parent 2428399206
commit 60353c0367

View file

@ -9,7 +9,7 @@ import { movieUpdateByRange, movieUpdateList } from "../@redux/actions";
import { useRawMovies } from "../@redux/hooks";
import { useReduxAction } from "../@redux/hooks/base";
import { MoviesApi } from "../apis";
import { ActionBadge, TextPopover } from "../components";
import { ActionBadge, LanguageText, TextPopover } from "../components";
import BaseItemView from "../generic/BaseItemView";
import { BuildKey } from "../utilites";
@ -89,7 +89,7 @@ const MovieView: FunctionComponent<Props> = () => {
variant="warning"
key={BuildKey(v.code2, v.hi, v.forced)}
>
{v.code2}
<LanguageText text={v}></LanguageText>
</Badge>
));
},