mirror of
https://github.com/movie-web/movie-web.git
synced 2025-09-13 18:13:24 +00:00
fix modal routing
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user