mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix debug.dump_selected()
This commit is contained in:
@@ -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
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user