Check that a group/user was found before changing loading property
@@ -334,9 +334,11 @@ let manageAccessApp = new Vue({
}
else {
vue.error = resp.error_msg;
+ if (index >= 0) {
user.loading = false;
vue.users.splice(index, 1, user);
}
+ }
vue.isProcessing = false;
});
},
