currentEventCalculation
This commit is contained in:
@@ -5,6 +5,7 @@ const Error = () => import('@/core/error/error.vue');
|
||||
import admin from '@/router/admin';
|
||||
import entities from '@/router/entities';
|
||||
import pages from '@/router/pages';
|
||||
// import { useStore } from '@/store';
|
||||
import { Authority } from '@/shared/security/authority';
|
||||
const EventDetails = () => import('@/entities/event/event-details.vue');
|
||||
const Event = () => import('@/entities/event/event.vue');
|
||||
@@ -17,7 +18,7 @@ export const createRouter = () =>
|
||||
path: '/',
|
||||
name: 'CurrentEventView',
|
||||
component: EventDetails,
|
||||
meta: { authorities: [Authority.USER], eventId: '2601' },
|
||||
meta: { authorities: [Authority.USER], eventId: 'useCurrentEventId' },
|
||||
},
|
||||
{
|
||||
path: '/forbidden',
|
||||
|
||||
Reference in New Issue
Block a user