finisch sharing functionality
This commit is contained in:
@@ -4,7 +4,7 @@ import router from '../../../router'
|
||||
export default {
|
||||
play(context, video) {
|
||||
context.commit("selectVideo", video);
|
||||
if (context.rootGetters.routerQuery.play != video._id) {
|
||||
if (context.rootGetters.routerQuery.play != video._id && context.rootGetters.routerPath != "/share") {
|
||||
router.push("/boxes?id=" + video.parent._id + "&play=" + video._id);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user