add alternative layout for /tickets page
This commit is contained in:
parent
a3f6a96f95
commit
b28bd7b23b
7 changed files with 192 additions and 16 deletions
|
@ -100,11 +100,14 @@ router.beforeEach((to, from, next) => {
|
|||
}
|
||||
});
|
||||
|
||||
router.afterEach((to/*, from*/) => {
|
||||
router.afterEach((to, from) => {
|
||||
if (to.params.event) {
|
||||
//console.log('update last event', to.params.event);
|
||||
store.commit('updateLastEvent', to.params.event);
|
||||
}
|
||||
if (to.query.layout !== from.query.layout) {
|
||||
store.commit('triggerLayoutChange', to.query.layout);
|
||||
}
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue