File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
redisinsight/ui/src/pages/home/components/SearchDatabasesList Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export default {
54
54
// 'pnpapi',
55
55
'cache-manager' ,
56
56
// 'class-validator',
57
- 'fastify- static' ,
57
+ '@ fastify/ static' ,
58
58
'fastify-swagger' ,
59
59
// 'hiredis',
60
60
// 'reflect-metadata',
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { EuiFieldSearch } from '@elastic/eui'
3
3
import { useDispatch , useSelector } from 'react-redux'
4
4
5
5
import { instancesSelector , loadInstancesSuccess } from 'uiSrc/slices/instances/instances'
6
- import { Instance } from 'uiSrc/slices/interfaces'
6
+ import { CONNECTION_TYPE_DISPLAY , Instance } from 'uiSrc/slices/interfaces'
7
7
import { lastConnectionFormat } from 'uiSrc/utils'
8
8
import { sendEventTelemetry , TelemetryEvent } from 'uiSrc/telemetry'
9
9
import styles from './styles.module.scss'
@@ -28,7 +28,7 @@ const SearchDatabasesList = () => {
28
28
visible : item . name ?. toLowerCase ( ) . indexOf ( value ) !== - 1
29
29
|| item . host ?. toString ( ) ?. indexOf ( value ) !== - 1
30
30
|| item . port ?. toString ( ) ?. indexOf ( value ) !== - 1
31
- || item . connectionType ?. toLowerCase ( ) ?. indexOf ( value ) !== - 1
31
+ || ( item . connectionType && CONNECTION_TYPE_DISPLAY [ item . connectionType ] ?. toLowerCase ( ) ?. indexOf ( value ) !== - 1 )
32
32
|| item . modules ?. map ( ( m ) => m . name ?. toLowerCase ( ) ) . join ( ',' ) . indexOf ( value ) !== - 1
33
33
|| lastConnectionFormat ( item . lastConnection ) ?. indexOf ( value ) !== - 1
34
34
} )
You can’t perform that action at this time.
0 commit comments