Skip to content

Commit

Permalink
fix: +comment, -debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Aug 20, 2020
1 parent aeca19d commit 9608b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/client/flags/list.js
Expand Up @@ -102,6 +102,7 @@ define('forum/flags/list', ['components', 'Chart'], function (components, Chart)
var flagIds = Flags.getSelected();
var promises = [];

// TODO: this can be better done with flagIds.map to return promises
flagIds.forEach(function (flagId) {
promises.push(new Promise(function (resolve, reject) {
var handler = function (err) {
Expand Down Expand Up @@ -151,7 +152,6 @@ define('forum/flags/list', ['components', 'Chart'], function (components, Chart)
app.alertSuccess('[[flags:bulk-success, ' + fulfilled + ']]');
}

console.log(errors);
errors.forEach(function (res) {
app.alertError(res.reason);
});
Expand Down

0 comments on commit 9608b44

Please sign in to comment.