mirror of
https://github.com/KevinMidboe/seasonedRequest.git
synced 2025-10-29 01:40:14 +00:00
Movie route fix
This commit is contained in:
7046
package-lock.json
generated
Normal file
7046
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -29,7 +29,7 @@ let routes = [
|
||||
'page-router-view': require('./components/MoviePage.vue')
|
||||
},
|
||||
beforeEnter: (to, from, next) => {
|
||||
if(history.state && history.state.popup){
|
||||
if(history.state && history.state.popup && from.name){
|
||||
eventHub.$emit('openMoviePopup', to.params.id, false);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user