We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6edd8e commit 9e74506Copy full SHA for 9e74506
src-ui.v3/src/Main.hs
@@ -156,7 +156,7 @@ bodyElement4 = do
156
| JSS.isInfixOf "^" sJ = filter (JSS.isPrefixOf (JSS.dropWhile (=='^') sJ)) p
157
| JSS.isInfixOf "$" sJ = filter (JSS.isSuffixOf (JSS.dropWhileEnd (=='$') sJ)) p
158
| otherwise = filter (JSS.isInfixOf sJ) p
159
- exactMatches pkgs' sJss = List.partition (==sJss) pkgs'
+ exactMatches pkgs' sJss = List.partition (==(JSS.dropWhileEnd (=='$') sJss)) pkgs'
160
matchesE = calcMatches <$> current dynPackagesJss <@> (JSS.textToJSString <$> searchInputE)
161
dynMatches <- holdDyn [] matchesE
162
dynSearch <- holdDyn "" (JSS.textToJSString <$> searchInputE)
0 commit comments