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(); return eventOptions.value.maximumAttendeeCapacity.toString();
}, },
set(newMaximumAttendeeCapacity: string) { set(newMaximumAttendeeCapacity: string) {
eventOptions.value.maximumAttendeeCapacity = parseInt(newMaximumAttendeeCapacity); eventOptions.value.maximumAttendeeCapacity = parseInt(
} newMaximumAttendeeCapacity
}) );
},
});
const dateFnsLocale = inject<Locale>("dateFnsLocale"); const dateFnsLocale = inject<Locale>("dateFnsLocale");

View File

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