From a391f82ef1ac8616e730b56ca0326c5d51efaf1f Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 24 Apr 2022 01:35:46 +0200 Subject: [PATCH] Add lowercase --- UI/ImportFlow/ImportViewerGui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/ImportFlow/ImportViewerGui.ts b/UI/ImportFlow/ImportViewerGui.ts index 718b63117..8d0ba69c5 100644 --- a/UI/ImportFlow/ImportViewerGui.ts +++ b/UI/ImportFlow/ImportViewerGui.ts @@ -339,7 +339,7 @@ class ImportInspector extends VariableUiElement { status = "already_mapped" } else if (lastComment.indexOf("invalid") >= 0 || lastComment.indexOf("incorrecto") >= 0) { status = "invalid" - } else if (["imported","erbij","toegevoegd"].some(keyword => lastComment.indexOf(keyword) >= 0)) { + } else if (["imported","erbij","toegevoegd"].some(keyword => lastComment.toLowerCase().indexOf(keyword) >= 0)) { status = "imported" } else { status = "closed"