forked from potsda.mn/mobilizon
issue#9: Increase the limit of the displayed events on home page to the max (99)
This commit is contained in:
parent
49a9d27020
commit
a883f2467a
|
@ -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: [] }
|
||||
|
|
Loading…
Reference in a new issue