Add 'imported' keyword

This commit is contained in:
pietervdvn 2022-04-24 11:47:31 +02:00
parent a391f82ef1
commit c707f49b05

View file

@ -339,7 +339,7 @@ class ImportInspector extends VariableUiElement {
status = "already_mapped" status = "already_mapped"
} else if (lastComment.indexOf("invalid") >= 0 || lastComment.indexOf("incorrecto") >= 0) { } else if (lastComment.indexOf("invalid") >= 0 || lastComment.indexOf("incorrecto") >= 0) {
status = "invalid" status = "invalid"
} else if (["imported","erbij","toegevoegd"].some(keyword => lastComment.toLowerCase().indexOf(keyword) >= 0)) { } else if (["imported","erbij","toegevoegd","added"].some(keyword => lastComment.toLowerCase().indexOf(keyword) >= 0)) {
status = "imported" status = "imported"
} else { } else {
status = "closed" status = "closed"