Ensure the stand-alone Generate Image page loads under the media grid mode #712
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.
Description of the Change
As reported in #703, if you go to the Media Library and switch that to display in the List mode instead of the default Grid mode, if you then go to the stand-alone Generate Image page, you'll get an access error.
It seems that that Generate Image page requires some things that the Grid mode view loads. This PR fixes that by ensuring the link for the Generate Image page loads under the Grid mode.
Closes #703
How to test the Change
Follow the steps from the issue and ensure the problem no longer happens
Changelog Entry
Credits
Props @dkotter, @Sidsector9, @qasumitbagthariya
Checklist: