enhance: use radix checkbox globally

This commit is contained in:
Tienson Qin
2024-03-11 21:40:32 +08:00
parent 83e4560a1a
commit d119a15229
10 changed files with 36 additions and 34 deletions

View File

@@ -903,7 +903,7 @@
[:label.flex-1
{:for k}
(ui/checkbox {:id k
:checked c?
:value c?
:on-change (fn [^js e]
(when-not downloading?
(state/set-unchecked-update (:id it) (not (util/echecked? e)))))})