mirror of
https://github.com/penpot/penpot.git
synced 2026-09-11 14:39:35 +00:00
🐛 Fix adding pages with customized options
This commit is contained in:
parent
89fa8ce66e
commit
b667f1bb2c
@ -144,7 +144,7 @@
|
|||||||
(str (:current-page-id file)))
|
(str (:current-page-id file)))
|
||||||
|
|
||||||
(addPage [_ name options]
|
(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)))
|
(str (:current-page-id file)))
|
||||||
|
|
||||||
(closePage [_]
|
(closePage [_]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user