This commit is contained in:
Artem Anufrij
2023-02-08 12:37:55 +01:00
commit 3af8005786
152 changed files with 37333 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
export default {
selectVideo(state, video) {
state.selectedVideo = video;
},
resetSelectedVideo(state) {
if (!state.selectedVideo._id) {
return;
}
state.selectedVideo = { tracks: [] };
},
setMostViewed(state, tracks) {
state.mostViewed = tracks;
}
}