Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage location deactivate button should be disabled unless the storage location is deactivatable #4745

Open
2 tasks
cielf opened this issue Oct 27, 2024 · 2 comments · May be fixed by #4775
Open
2 tasks

Comments

@cielf
Copy link
Collaborator

cielf commented Oct 27, 2024

Summary

Storage location deactivate button should be disabled unless the storage location is deactivatable

Why?

Consistency with how we handle deactivate elsewhere

Details

Recreation

Log in as [email protected]
Click on Inventory
Click on Storage Locations
You can see that the Deactivate buttons are enabled.

What do we want to see

The Deactivate buttons should be present but disabled whenever the storage location has any inventory.

Criteria for completion

  • The storage location deactivate buttons are enabled if and only if the storage location has no inventory
  • Automated tests to support this behaviour
@coalest
Copy link
Contributor

coalest commented Oct 29, 2024

Could I take this task?

@cielf
Copy link
Collaborator Author

cielf commented Oct 29, 2024

Please do!

@github-actions github-actions bot removed the Help Wanted Groomed + open to all! label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants