Browse Source

fix modal routing

pull/185/head
mrjvs 2 years ago
parent
commit
12f7f2ee03
  1. 4
      src/video/components/popouts/CaptionSelectionPopout.tsx

4
src/video/components/popouts/CaptionSelectionPopout.tsx

@ -83,7 +83,9 @@ export function CaptionSelectionPopout(props: { @@ -83,7 +83,9 @@ export function CaptionSelectionPopout(props: {
action={
<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"
>
<span>{t("videoPlayer.popouts.captionPreferences.title")}</span>

Loading…
Cancel
Save