Skip to content

Commit b0e3af3

Browse files
committed
fix(ci): eslint fix, minor correction after rebase
Signed-off-by: Andrey Borysenko <[email protected]>
1 parent 8a9f190 commit b0e3af3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

apps/settings/src/components/AppList.vue

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -317,14 +317,9 @@ export default {
317317
const limit = pLimit(1)
318318
this.apps
319319
.filter(app => app.update)
320-
.map(app => limit(() => {
321-
let type = 'updateApp'
322-
if (app?.app_api) {
323-
type = 'app_api_apps/updateApp'
324-
}
325-
this.$store.dispatch(type, { appId: app.id })
326-
}),
327-
)
320+
.map((app) => limit(() => {
321+
this.update(app.id)
322+
}))
328323
},
329324
},
330325
}

0 commit comments

Comments
 (0)