Lint fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-21 17:29:50 +01:00
parent b5d6165ce1
commit 9d07373134
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
2 changed files with 8 additions and 6 deletions

View File

@ -1297,9 +1297,11 @@ const maximumAttendeeCapacity = computed({
return eventOptions.value.maximumAttendeeCapacity.toString();
},
set(newMaximumAttendeeCapacity: string) {
eventOptions.value.maximumAttendeeCapacity = parseInt(newMaximumAttendeeCapacity);
}
})
eventOptions.value.maximumAttendeeCapacity = parseInt(
newMaximumAttendeeCapacity
);
},
});
const dateFnsLocale = inject<Locale>("dateFnsLocale");

View File

@ -298,7 +298,7 @@ const props = defineProps<{
const { t } = useI18n({ useScope: "global" });
const propsUUID = computed(() => props.uuid)
const propsUUID = computed(() => props.uuid);
const {
event,
@ -308,8 +308,8 @@ const {
} = useFetchEvent(props.uuid);
watch(propsUUID, (newUUid) => {
refetchEvent({ uuid: newUUid })
})
refetchEvent({ uuid: newUUid });
});
const eventId = computed(() => event.value?.id);
const { currentActor } = useCurrentActorClient();