mirror of https://github.com/penpot/penpot.git
🐛 Fix debug.dump_selected()
This commit is contained in:
parent
83bd479176
commit
625cfa4c97
|
|
@ -193,8 +193,10 @@
|
|||
|
||||
(defn ^:export dump-selected
|
||||
[]
|
||||
(logjs "selected" (get-selected @st/state))
|
||||
nil)
|
||||
(let [objects (dsh/lookup-page-objects @st/state)
|
||||
result (->> (get-selected @st/state) (map #(get objects %)))]
|
||||
(logjs "selected" result)
|
||||
nil))
|
||||
|
||||
(defn ^:export preview-selected
|
||||
[]
|
||||
|
|
|
|||
Loading…
Reference in New Issue