We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ab590 commit 4c27804Copy full SHA for 4c27804
1 file changed
settings/src/store/apps.js
@@ -258,14 +258,17 @@ const actions = {
258
updateApp(context, { appId }) {
259
return api.requireAdmin().then((response) => {
260
context.commit('startLoading', appId);
261
+ context.commit('startLoading', 'install');
262
return api.get(OC.generateUrl(`settings/apps/update/${appId}`))
263
.then((response) => {
264
+ context.commit('stopLoading', 'install');
265
context.commit('stopLoading', appId);
266
context.commit('updateApp', appId);
267
return true;
268
})
269
.catch((error) => {
270
271
272
context.commit('APPS_API_FAILURE', { appId, error })
273
274
}).catch((error) => context.commit('API_FAILURE', { appId, error }));
0 commit comments