fix: add assets support on memory-fs

This commit is contained in:
Tienson Qin
2023-11-15 16:05:04 +08:00
parent 80ac797c8a
commit 02e9f8eaa7
9 changed files with 91 additions and 109 deletions

View File

@@ -139,13 +139,12 @@
(when multiple-choices?
[:div.p-4 (ui/button "Apply"
{:small? true
:button-props
{:on-mouse-down (fn [e]
(util/stop e)
(when @*toggle (@*toggle))
(when (fn? on-apply)
(on-apply selected-choices)
(when close-modal? (state/close-modal!))))}})])]]
:on-mouse-down (fn [e]
(util/stop e)
(when @*toggle (@*toggle))
(when (fn? on-apply)
(on-apply selected-choices)
(when close-modal? (state/close-modal!))))})])]]
(when (fn? tap-*input-val)
(tap-*input-val input))
[:div.cp__select