diff options
author | Yorhel <git@yorhel.nl> | 2021-07-08 14:38:35 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-07-08 14:38:58 +0200 |
commit | 5bd83321e5f8a11797fd5b90dbe5aa8528c68de4 (patch) | |
tree | d707af50b995d4cafc44be235ab346951c329d6f | |
parent | 606391250bb1f5cd1ab3b36298e4d4e376f4f48f (diff) |
AdvSearch: Fix display of platform icons when multiple are selected
Copy-paste bug. Fixes https://vndb.org/t2520.580
-rw-r--r-- | elm/AdvSearch/Set.elm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/AdvSearch/Set.elm b/elm/AdvSearch/Set.elm index 6a1b6003..7e7b1fc7 100644 --- a/elm/AdvSearch/Set.elm +++ b/elm/AdvSearch/Set.elm @@ -139,7 +139,7 @@ platformView unk model = ( case Set.toList model.sel of [] -> b [ class "grayedout" ] [ text "Platform" ] [v] -> span [ class "nowrap" ] <| lblPrefix model :: fmt v (Maybe.withDefault "" (lookup v lst)) - l -> span [ class "nowrap" ] <| lblPrefix model :: List.intersperse (text "") (List.map langIcon l) + l -> span [ class "nowrap" ] <| lblPrefix model :: List.intersperse (text "") (List.map platformIcon l) , \() -> [ div [ class "advheader" ] [ h3 [] [ text "Platforms for which the visual novel is available." ] |