From 58c6a8387b2fdcfe150930780ed7a1bfbcd29059 Mon Sep 17 00:00:00 2001 From: Thomas Lamant Date: Sat, 15 Nov 2025 02:53:35 +0100 Subject: [PATCH] fix: update all button only updates a single app Signed-off-by: Thomas Lamant --- apps/settings/src/components/AppList.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index f2892854b43..ccab6708fe0 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -351,13 +351,14 @@ export default { }) }, - updateAll() { + async updateAll() { const limit = pLimit(1) - this.apps + const updateTasks = this.apps .filter((app) => app.update) .map((app) => limit(() => { this.update(app.id) })) + await Promise.all(updateTasks) }, }, }