File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ const ErrorLogQueryTable = ({ onSubmit, ErrorLogList }) => {
7575 < FiltersForms layout = "inline" form = { form } size = "medium" onFinish = { onFinish } >
7676 < Form . Item label = "Search" name = "qSearch" >
7777 < AutoComplete
78- style = { { width : '8vw ' , marginLeft : '1vw' } }
78+ style = { { width : '10vw ' , marginLeft : '1vw' } }
7979 options = { LogOptions }
8080 filterOption = { ( inputValue , option ) =>
8181 option . value . toUpperCase ( ) . indexOf ( inputValue . toUpperCase ( ) ) !== - 1
Original file line number Diff line number Diff line change @@ -52,8 +52,10 @@ const ErrorLogsTable = () => {
5252 if ( values ?. qSearch || values ?. qErrorLogTime ) {
5353 const filterErrorLogs = dataSource . filter (
5454 item =>
55- ( item . type . includes ( values . qSearch ) ||
56- item . message . includes ( values . qSearch ) ) &&
55+ ( item . type . toLowerCase ( ) . includes ( values . qSearch . toLowerCase ( ) ) ||
56+ item . message
57+ . toLowerCase ( )
58+ . includes ( values . qSearch . toLowerCase ( ) ) ) &&
5759 ( values . qErrorLogTime != null
5860 ? moment ( + item . timestamp ) . isBetween (
5961 values ?. qErrorLogTime [ 0 ] ,
You can’t perform that action at this time.
0 commit comments