code
code copied to clipboard
Stop user from interacting with mods when minecraft is running
Please confirm the following.
- [X] I checked the existing issues for duplicate feature requests
- [X] I have checked that this feature request is not on our roadmap
What parts of Modrinth is your feature request related too?
App
Is your suggested feature related to a problem? Please describe.
Obviously it is impossible to remove/disable mod when instance(minecraft) is running. But theese buttons always will try to remove/disable mod when pressed.
Describe the solution you'd like
Disable buttons for disabling/enabling/updating/removing mod when minecraft is running.
Like this:
this done by adding
disabled
attribute to switch's input tag and buttons.
Describe alternatives you've considered
Before disabling/enabling/updating/removing check is minecraft running right now and if it is show user confirmation prompt.