Describe the bug
Server 500 when try to change the state for a drive after changing the state of an organization
To Reproduce
Steps to reproduce the behavior:
- Go to your organizations
- click on 'Edit details'
- Change the state for the organization
- Now click on 'manage' for a drive that is part of that organization
- See error - 500
Expected behavior
gracefully handle the error
if there is only one state in the organization details, change the state for the drive
If multiple states, and the one that was changed is relevant to the drive's state, change the state automatically.
Otherwise, keep it as is
Screenshots
