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

Ensure the stand-alone Generate Image page loads under the media grid mode #712

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented Feb 12, 2024

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

Fixed - Ensure the stand-alone Generate Image page works if the Media Library is loaded in list mode

Credits

Props @dkotter, @Sidsector9, @qasumitbagthariya

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@dkotter dkotter added this to the 3.0.0 milestone Feb 12, 2024
@dkotter dkotter self-assigned this Feb 12, 2024
@dkotter dkotter requested review from jeffpaul and a team as code owners February 12, 2024 17:53
@dkotter dkotter removed request for a team and jeffpaul February 12, 2024 17:53
@github-actions github-actions bot added the needs:code-review This requires code review. label Feb 12, 2024
@dkotter dkotter merged commit ceff576 into develop Feb 15, 2024
14 checks passed
@dkotter dkotter deleted the fix/703 branch February 15, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:code-review This requires code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image generation > Link getting expired
2 participants