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

Show thumbnail image in edit view if baseUrl is set in opts #59

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ddresch
Copy link

@ddresch ddresch commented Mar 6, 2023

Without this patch, the edit view is not displaying uploaded images in the dropzone, which is ignoring the opts parameter. With a set baseUrl (e.g. '/files') you end up with URLs like this:

http://localhost:3000/public/files/63eff0d95e1575f0ef32d9c9/arc.png 

This PR adds the needed check if baseUrl is defined in the opts object.

Additionally (sorry mixed it up with this PR) a quick check is added if a property is really set when doing the update of the doc object in the update process.

@ddresch
Copy link
Author

ddresch commented Apr 19, 2023

The merge is up-to-date with the latest version incl. V7 updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant