mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-4022 make filter case insensitive (#2080)
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
This commit is contained in:
+3
-1
@@ -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;
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user