summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/pages
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-09-25 11:24:58 +0900
committerGitHub <[email protected]>2024-09-25 11:24:58 +0900
commit9d8d995d3af15c9955764487cb75edca340d1e17 (patch)
tree9036066aa272836e1cc0a9fc7c54558c701331ea /frontend/src/pages
parentdd92f408b968dd7d241e262be78d5a4a84300bfc (diff)
downloadbazarr-9d8d995d3af15c9955764487cb75edca340d1e17.tar.gz
bazarr-9d8d995d3af15c9955764487cb75edca340d1e17.zip
Fixed upload subtitle language (#2675)v1.4.5-beta.4
Diffstat (limited to 'frontend/src/pages')
-rw-r--r--frontend/src/pages/Movies/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/pages/Movies/index.tsx b/frontend/src/pages/Movies/index.tsx
index 0429e1fdd..ef5a1ec0d 100644
--- a/frontend/src/pages/Movies/index.tsx
+++ b/frontend/src/pages/Movies/index.tsx
@@ -6,6 +6,7 @@ import { faBookmark as farBookmark } from "@fortawesome/free-regular-svg-icons";
import { faBookmark, faWrench } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { ColumnDef } from "@tanstack/react-table";
+import { uniqueId } from "lodash";
import { useMovieModification, useMoviesPagination } from "@/apis/hooks";
import { Action } from "@/components";
import { AudioList } from "@/components/bazarr";
@@ -95,7 +96,7 @@ const MovieView: FunctionComponent = () => {
<Badge
mr="xs"
color="yellow"
- key={BuildKey(v.code2, v.hi, v.forced)}
+ key={uniqueId(`${BuildKey(v.code2, v.hi, v.forced)}_`)}
>
<Language.Text value={v}></Language.Text>
</Badge>