CB-4022 make filter case insensitive (#2080)

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
This commit is contained in:
alex
2023-10-24 18:10:45 +03:00
committed by GitHub
co-authored by EvgeniaBzzz
parent 6c609d7f62
commit 97dc309bcb
@@ -38,9 +38,11 @@ export const useOutputLogsPanelState = (outputLogs: IOutputLog[], sqlEditorTabSt
if (!selectedLogTypes.includes(log.severity)) {
return false;
}
if (this.searchValue.length > 0 && !log.message?.includes(this.searchValue)) {
if (this.searchValue.length > 0 && !log.message.toLowerCase().includes(this.searchValue.toLowerCase())) {
return false;
}
return true;
});
},