Prod deploy 18 listopada

This commit is contained in:
2024-11-18 20:38:53 +01:00
parent a6731fcdfc
commit 770791302c
5 changed files with 41 additions and 4 deletions
@@ -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,