fix modal routing

This commit is contained in:
mrjvs 2023-03-19 20:00:56 +01:00
parent 01f46ce23c
commit 12f7f2ee03

View File

@ -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>