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

fix: Only reset preview src if it used to fail before #41416

Merged
merged 2 commits into from Nov 13, 2023

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Nov 13, 2023

Steps to reproduce:

  • Open a folder with previews
  • Click the breadcrumb of the current folder to reload

This makes sure that we do not reset the image src which would immediately trigger an error event on the image tag and bring the preview into a broken state.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl
Copy link
Member Author

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@AndyScherzinger AndyScherzinger added this to the Nextcloud 28 milestone Nov 13, 2023
@juliushaertl juliushaertl merged commit 96eb00a into master Nov 13, 2023
38 of 41 checks passed
@juliushaertl juliushaertl deleted the bugfix/preview-reset branch November 13, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants