Fix fetch on scroll in email eventlog
This commit is contained in:
@@ -51,7 +51,7 @@ async function onScroll(event) {
|
||||
const [error, result] = await mailModel.eventlog(types.join(','), search.value, page.value, perPage.value);
|
||||
if (error) return console.error(error);
|
||||
|
||||
eventlogs.value = result;
|
||||
eventlogs.value = eventlogs.value.concat(result);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user