Lint fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b5d6165ce1
commit
9d07373134
@ -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");
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user