Fetch more notifications to avoid required pagination
This commit is contained in:
@@ -52,7 +52,7 @@ async function onMarkNotificationRead(notification) {
|
||||
async function onMarkAllNotificationRead() {
|
||||
notificationsAllBusy.value = true;
|
||||
|
||||
await eachLimit(notifications.value, 2, async (notification) => {
|
||||
await eachLimit(notifications.value, 5, async (notification) => {
|
||||
notification.busy = true;
|
||||
const [error] = await notificationModel.update(notification.id, true);
|
||||
if (error) return window.cloudron.onError(error);
|
||||
|
||||
Reference in New Issue
Block a user