You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application crashes with index out of range exception in RemoveUser method.
In UserDashboardViewModel , the RemoveUser method is assuming that the user to be deleted is not the last one in the list, it attempts to reset the SelectedUser to Users[index+1] which will thrown an exception if index was the last item.
The text was updated successfully, but these errors were encountered:
Steps to repo:
Application crashes with index out of range exception in
RemoveUser
method.In
UserDashboardViewModel
, the RemoveUser method is assuming that the user to be deleted is not the last one in the list, it attempts to reset theSelectedUser
toUsers[index+1]
which will thrown an exception if index was the last item.The text was updated successfully, but these errors were encountered: