Fixed publish btn dropdown display [ref #7183] #7191
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Extra
dropdown-toggle
style class snuck into the single-click version of the Publish btn, which triggered the display of the dropdown menu under the button when clicked.Which issue(s) this PR closes:
Closes #7183 Extraneous Publish Option on Release Candidate
Special notes for your reviewer:
See screenshot in original issue for how the single-click version of the Publish btn should NOT look.
Suggestions on how to test this:
When you click the Publish btn on a dataset with no Submit For Review set up, you should NOT see the dropdown menu displayed, as the screenshot in the original issue shows. If you see a dropdown carrot icon in the button for a dataset WITH the Submit For Review workflow set up, then you should see the dropdown menu, showing the Publish or Return To Author options.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
It fixes a UI bug, returning the page to intended functionality, this is not a change in design.
Is there a release notes update needed for this change?:
No.
Additional documentation:
N/A