Prod deploy 18 listopada
This commit is contained in:
@@ -20,6 +20,7 @@ export default defineComponent({
|
||||
const alertService = inject('alertService', () => useAlertService(), true);
|
||||
const { formatDateShort } = useDateFormat();
|
||||
const dataUtils = useDataUtils();
|
||||
const isCurrentEvent = ref(false);
|
||||
|
||||
const registrationService = inject('registrationService', () => new RegistrationService());
|
||||
const accountService = inject<AccountService>('accountService');
|
||||
@@ -34,6 +35,7 @@ export default defineComponent({
|
||||
const retrieveEvent = async (eventId: string) => {
|
||||
try {
|
||||
const res = await eventService().find(eventId);
|
||||
isCurrentEvent.value = eventId == '1751';
|
||||
event.value = res;
|
||||
// sortedAndIndexedRegistrations.value = res.registrations;
|
||||
sortedAndIndexedRegistrations.value = res.registrations.sort(
|
||||
@@ -108,6 +110,7 @@ export default defineComponent({
|
||||
accountService,
|
||||
eventService,
|
||||
event,
|
||||
isCurrentEvent,
|
||||
...dataUtils,
|
||||
formatDateShort,
|
||||
previousState,
|
||||
|
||||
Reference in New Issue
Block a user