Skip to content

Commit 82719e4

Browse files
authored
Fix activities and conversations pagination (#1558)
1 parent dd83890 commit 82719e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/modules/activity/components/activity-list.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const onLoadMore = () => {
125125
};
126126
127127
const fetch = ({
128-
filter, offset, limit, orderBy, body, append,
128+
filter, offset = 0, limit = 20, orderBy, body, append,
129129
}) => {
130130
loading.value = true;
131131
fetchActivities({

frontend/src/modules/conversation/components/conversation-list.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const onLoadMore = () => {
121121
};
122122
123123
const fetch = ({
124-
filter, offset, limit, orderBy, body, append,
124+
filter, offset = 0, limit = 20, orderBy, body, append,
125125
}) => {
126126
loading.value = true;
127127
fetchConversation({

0 commit comments

Comments
 (0)