Commit 73d9dfc8 authored by Vlad Dumitru's avatar Vlad Dumitru
Browse files

fix checkbox persistence bug

parent b775543e
Pipeline #5924 failed with stages
in 0 seconds
......@@ -7,7 +7,7 @@ import Browser exposing (Document)
import File exposing (File)
import File.Download
import Html exposing (Html, a, button, div, h1, header, input, label, main_, p, span, strong, sup, table, text, thead, th, td, tr)
import Html.Attributes exposing (class, disabled, for, href, id, placeholder, type_)
import Html.Attributes exposing (checked, class, disabled, for, href, id, placeholder, type_)
import Html.Events exposing (onCheck, onClick, onInput)
import Json.Decode as JD
......@@ -179,6 +179,7 @@ viewTierListing tagFilterShown selected expanded tierListing search allTags sele
[ input
[ type_ "checkbox"
, onCheck <| Select ( uuid,, key )
, checked <| Dict.member ( Uuid.toString uuid, ) selected
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment