mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 03:11:51 +01:00
fix modal routing
This commit is contained in:
parent
01f46ce23c
commit
12f7f2ee03
@ -83,7 +83,9 @@ export function CaptionSelectionPopout(props: {
|
|||||||
action={
|
action={
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => props.router.navigate("/caption-settings")}
|
onClick={() =>
|
||||||
|
props.router.navigate(`${props.prefix}/caption-settings`)
|
||||||
|
}
|
||||||
className="flex cursor-pointer items-center space-x-2 transition-colors duration-200 hover:text-white"
|
className="flex cursor-pointer items-center space-x-2 transition-colors duration-200 hover:text-white"
|
||||||
>
|
>
|
||||||
<span>{t("videoPlayer.popouts.captionPreferences.title")}</span>
|
<span>{t("videoPlayer.popouts.captionPreferences.title")}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user