-
Notifications
You must be signed in to change notification settings - Fork 87
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
Deleting a draft redirects to a hardcoded URL #1846
Deleting a draft redirects to a hardcoded URL #1846
Comments
@zzacharo as discussed tuesday in the telecon, could you provide some insight here as to how the flask config could best be read from the |
Hello, I think it should be enough to inject the new variables in the form config: That would go down to the deposit form state here and then it is available in the actions because of how we configure the redux store Give it a go and let me know! |
Hi @zzacharo, thanks for your help! It will be fixed with inveniosoftware/invenio-app-rdm#2889 and #1859 |
In
deposit.js
thedelete_
function has the redirect URL after deleting a draft hardcoded:invenio-rdm-records/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/deposit.js
Line 262 in 0d313c6
This should be read from the config value
APP_RDM_DASHBOARD_ROUTES["uploads"]
instead.The text was updated successfully, but these errors were encountered: