Merge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-token

Fix: bulk add redirection with ending slash
This commit is contained in:
ArthurHoaro 2021-01-26 16:25:09 +01:00 committed by GitHub
commit 83b4eb1795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ const redirectIfEmptyBatch = (basePath, formElements, path) => {
});
Promise.all(promises).then(() => {
window.location.href = basePath || '/';
window.location.href = `${basePath}/`;
});
});
});