issue#9: Increase the limit of the displayed events on home page to the max (99)

This commit is contained in:
summersamara 2023-10-03 18:03:41 +02:00
parent 49a9d27020
commit a883f2467a

View file

@ -31,7 +31,7 @@
:event="event"
:key="event.uuid"
/>
<more-content
<!--<more-content
:to="{
name: RouteName.SEARCH,
query: {
@ -40,7 +40,7 @@
}"
>
{{ t("View more events") }}
</more-content>
</more-content>-->
</template>
</close-content>
</template>
@ -71,6 +71,7 @@ const { result: resultEvents, loading: loadingEvents } = useQuery<{
}>(FETCH_EVENTS, {
orderBy: EventSortField.BEGINS_ON,
direction: SortDirection.ASC,
limit: 99
});
const events = computed(
() => resultEvents.value?.events ?? { total: 0, elements: [] }