File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default function EndpointsView() {
21
21
} ;
22
22
23
23
const filteredEndpoints = schema . endpoints . filter ( endpoint => {
24
- return endpoint . name . match ( search ) != null ;
24
+ return endpoint . name . match ( new RegExp ( search , "i" ) ) != null ;
25
25
} ) ;
26
26
27
27
const selectedEndpoint = ( ! endpoint ) ? null : schema . endpoints . filter ( e => e . name === endpoint ) ?. [ 0 ] ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default function TypesView() {
24
24
25
25
const filteredTypes = schema . types . filter ( type => {
26
26
const bt = type as BaseType ;
27
- return `${ bt . name . namespace } ::${ bt . name . name } ` . match ( search ) != null ;
27
+ return `${ bt . name . namespace } ::${ bt . name . name } ` . match ( new RegExp ( search , "i" ) ) != null ;
28
28
} ) ;
29
29
30
30
const selectedType = ( ! type ) ? null : schema . types . filter ( t => `${ t . name . namespace } ::${ t . name . name } ` === type ) ?. [ 0 ] ;
You can’t perform that action at this time.
0 commit comments