File tree Expand file tree Collapse file tree
bases/behave_components/src/cljs/behave/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 200200 [{:keys [input-label options filter-tags color-tags]}]
201201 (r/with-let [selections (r/atom (->> options
202202 (filter #(true ? (:selected? %)))
203- (map (fn [{:keys [label value on-deselect color-tag ]}]
204- [label value on-deselect color-tag ]))
203+ (map (fn [{:keys [label value on-deselect]}]
204+ [label value on-deselect]))
205205 (into (sorted-set ))))
206206 show-options? (r/atom false )
207207 selected-tag (r/atom nil )]
241241 (and filter-tags @selected-tag)
242242 (filter (fn [id] (contains? (:tags id) @selected-tag))))]
243243 ^{:key label}
244- (let [selection [label value on-deselect color-tag ]]
244+ (let [selection [label value on-deselect]]
245245 [multi-select-option {:selected? (contains? @selections selection)
246246 :color-tag color-tag
247247 :label label
You can’t perform that action at this time.
0 commit comments