Skip to content

Commit

Permalink
Update web_src/js/features/repo-legacy.js
Browse files Browse the repository at this point in the history
Co-authored-by: Gusted <williamzijl7@hotmail.com>
  • Loading branch information
wxiaoguang and Gusted authored Nov 15, 2021
1 parent 819aff8 commit b8c57f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/js/features/repo-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export function initRepoCommentForm() {
$(`.${selector}`).dropdown('setting', 'onHide', () => {
hasUpdateAction = $listMenu.data('action') === 'update'; // Update the var
if (hasUpdateAction) {
// TODO: Add batch functionality and make this 1 network request.
(async function() {
for (const [elementId, item] of Object.entries(items)) {
await updateIssuesMeta(
Expand Down

0 comments on commit b8c57f1

Please sign in to comment.