The Publish modal used to prevent the user from submitting if they had not made any selections. Now, it allows for the user to submit an invalid publish request.
Fixes #613
Approach
Disable the button once again if no repo is selected
How to Test
Preconditions: at least 1 zenodo/dataone account connection, at least 1 Tale created
Checkout and run this branch locally, rebuild the dashboard
Login to the WholeTale Dashboard
Navigate to the Run view for a Tale that you own
Expand the ... menu and click "Publish Tale..."
You should see that the Publish button is once disabled by default
Select a repository from the dropdown
You should see that the Publish button is now enabled
Problem
The Publish modal used to prevent the user from submitting if they had not made any selections. Now, it allows for the user to submit an invalid publish request.
Fixes #613
Approach
Disable the button once again if no repo is selected
How to Test
Preconditions: at least 1 zenodo/dataone account connection, at least 1 Tale created