Do not return but continue in a loop
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ async function updateChecklist(app, newChecks) {
|
||||
// add new checklist items depending on sso state
|
||||
const checklist = app.checklist || {};
|
||||
for (let k in newChecks) {
|
||||
if (app.checklist[k]) return;
|
||||
if (app.checklist[k]) continue;
|
||||
|
||||
const item = {
|
||||
acknowledged: false,
|
||||
|
||||
Reference in New Issue
Block a user