🎉 Add layout items options and feature toggle

This commit is contained in:
alonso.torres 2022-07-12 11:05:53 +02:00 committed by Andrey Antukh
parent 28abe785e8
commit 3ac1760141
20 changed files with 352 additions and 206 deletions

View file

@ -410,3 +410,11 @@
(defn workspace-text-modifier-by-id [id]
(l/derived #(get % id) workspace-text-modifier =))
(defn is-layout-child?
[ids]
(l/derived
(fn [objects]
(->> ids
(some #(-> (cph/get-parent objects %) :layout))))
workspace-page-objects))