Movie route fix

This commit is contained in:
Dmytro Barylo
2017-10-02 23:30:28 +03:00
parent 79ec76afc7
commit c5cf0bd61a
2 changed files with 7047 additions and 1 deletions

7046
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

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