Skip to content

Commit

Permalink
Merge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-token
Browse files Browse the repository at this point in the history
Fix: bulk add redirection with ending slash
  • Loading branch information
ArthurHoaro authored Jan 26, 2021
2 parents d496fd8 + 3d6278e commit 83b4eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/common/js/shaare-batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const redirectIfEmptyBatch = (basePath, formElements, path) => {
});

Promise.all(promises).then(() => {
window.location.href = basePath || '/';
window.location.href = `${basePath}/`;
});
});
});
Expand Down

0 comments on commit 83b4eb1

Please sign in to comment.