File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,10 +225,10 @@ const LicenseDetections = () => {
225225 activeLicense &&
226226 activeLicense . type === "detection" &&
227227 activeLicense . license === licenseDetection ;
228- const showDetection =
229- licenseDetection . license_expression . includes (
230- searchedLicense
231- ) ;
228+ const showDetection = licenseDetection . license_expression
229+ . toLowerCase ( )
230+ . includes ( searchedLicense . toLowerCase ( ) ) ;
231+
232232 return (
233233 < ListGroupItem
234234 onClick = { ( ) => activateLicenseDetection ( licenseDetection ) }
@@ -276,8 +276,10 @@ const LicenseDetections = () => {
276276 activeLicense &&
277277 activeLicense . type === "clue" &&
278278 activeLicense . license === licenseClue ;
279- const showClue =
280- licenseClue . license_expression . includes ( searchedLicense ) ;
279+ const showClue = licenseClue . license_expression
280+ . toLowerCase ( )
281+ . includes ( searchedLicense . toLowerCase ( ) ) ;
282+
281283 return (
282284 < ListGroupItem
283285 onClick = { ( ) => activateLicenseClue ( licenseClue ) }
You can’t perform that action at this time.
0 commit comments