🐛 Fix unexpected behavior of potok with native atom and symbols.

This commit is contained in:
Andrey Antukh 2020-12-22 15:21:34 +01:00
parent 37bd43a19f
commit 88c0beddc6
4 changed files with 11 additions and 11 deletions

View file

@ -163,7 +163,7 @@
objects (get-in state [:workspace-data :pages-index page-id :objects])
selected (get-in state [:workspace-local :selected])
children (cp/get-children id objects)]
(some selected children)))]
(some #(contains? selected %) children)))]
(l/derived selector st/state)))