Showing only active sets

This commit is contained in:
Florian Schroedl 2024-08-19 10:46:48 +02:00
parent 8660c372dc
commit 97436531d0
4 changed files with 18 additions and 8 deletions

View file

@ -163,7 +163,8 @@
changes (-> (pcb/empty-changes it)
(pcb/update-token-theme
(wtts/toggle-token-set-to-token-theme token-set-id theme)
theme))]
theme)
(pcb/update-active-token-themes #{(wtts/update-theme-id state)} (wtts/get-active-theme-ids state)))]
(rx/of (dch/commit-changes changes))))))
(defn delete-token-set [token-set-id]