diff options
author | Andrey Borysenko <andrey18106x@gmail.com> | 2024-10-29 14:03:02 +0200 |
---|---|---|
committer | Andrey Borysenko <andrey18106x@gmail.com> | 2024-10-29 20:54:09 +0200 |
commit | 24b221ca4199326e9580e7ef22c181f4905fd6b9 (patch) | |
tree | 8ce0206a9acae2c4826466cc71890c127cf263fe | |
parent | dcc09ff5622081cfcf6f443eecf8427d6da05b0f (diff) | |
download | nextcloud-server-24b221ca4199326e9580e7ef22c181f4905fd6b9.tar.gz nextcloud-server-24b221ca4199326e9580e7ef22c181f4905fd6b9.zip |
fix(ci): eslint fix, minor correction after rebase
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
-rw-r--r-- | apps/settings/src/components/AppList.vue | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index 231543fe1cd..9a676034636 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) + })) }, }, } |