mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
🐛 Fix adding pages with customized options
This commit is contained in:
parent
89fa8ce66e
commit
b667f1bb2c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue