Piped/src/components/VideoRedirect.vue
2022-08-28 20:51:13 -07:00

16 lines
343 B
Vue

<template>
<div v-t="'actions.loading'" />
</template>
<script>
export default {
activated() {
const videoId = this.$route.params.videoId;
if (videoId)
this.$router.replace({
path: "/watch",
query: { v: videoId, t: this.$route.query.t },
});
},
};
</script>