Skip to content

Commit ebf6be8

Browse files
committed
remove color-tag from selections atom
1 parent 57e70b9 commit ebf6be8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • bases/behave_components/src/cljs/behave/components

bases/behave_components/src/cljs/behave/components/inputs.cljs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
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)]
@@ -241,7 +241,7 @@
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

0 commit comments

Comments
 (0)