0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

🐛 Fix adding pages with customized options

This commit is contained in:
Jordi Sala Morales 2024-04-22 08:23:45 +00:00
parent 89fa8ce66e
commit b667f1bb2c
No known key found for this signature in database
GPG key ID: C5127140107F55FD

View file

@ -144,7 +144,7 @@
(str (:current-page-id file)))
(addPage [_ name options]
(set! file (fb/add-page file {:name name :options options}))
(set! file (fb/add-page file {:name name :options (parse-data options)}))
(str (:current-page-id file)))
(closePage [_]