From b0e3af3d85a9df5e785bd3a3a94fb1b040ceee28 Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Tue, 29 Oct 2024 14:03:02 +0200 Subject: [PATCH] fix(ci): eslint fix, minor correction after rebase Signed-off-by: Andrey Borysenko --- apps/settings/src/components/AppList.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index 231543fe1cd47..9a676034636ca 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -317,14 +317,9 @@ export default { const limit = pLimit(1) this.apps .filter(app => app.update) - .map(app => limit(() => { - let type = 'updateApp' - if (app?.app_api) { - type = 'app_api_apps/updateApp' - } - this.$store.dispatch(type, { appId: app.id }) - }), - ) + .map((app) => limit(() => { + this.update(app.id) + })) }, }, }