🐛 Fixes problem with default square grid

This commit is contained in:
alonso.torres 2021-03-10 11:57:48 +01:00
parent c12cbbca2e
commit 3329216e3c
2 changed files with 2 additions and 1 deletions

View file

@ -45,7 +45,7 @@
ptk/WatchEvent
(watch [_ state stream]
(let [page-id (:current-page-id state)
data (get-in state [:workspace-data page-id])
data (get-in state [:workspace-data :pages-index page-id])
params (or (get-in data [:options :saved-grids :square])
(:square default-grid-params))
grid {:type :square