diff --git a/src/store/modules/users.js b/src/store/modules/users.js index 5f35bf44..83d2ceee 100644 --- a/src/store/modules/users.js +++ b/src/store/modules/users.js @@ -197,7 +197,9 @@ const users = { const updatedUsers = state.fetchedUsers.filter(user => !deletedUsersIds.includes(user.id)) commit('SET_USERS', updatedUsers) - dispatch('FetchUserProfile', { userId: _userId, godmode: false }) + if (_userId) { + dispatch('FetchUserProfile', { userId: _userId, godmode: false }) + } dispatch('SuccessMessage') }, async FetchUsers({ commit, dispatch, getters, state }, { page }) {