mirror of
https://github.com/penpot/penpot.git
synced 2025-03-16 01:31:22 -05:00
🐛 Fix wrong pages filtering on view-only-bundle rpc output.
This commit is contained in:
parent
92df7abcf0
commit
6b571fd2bb
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@
|
||||||
(some? slink)
|
(some? slink)
|
||||||
(assoc :share slink)
|
(assoc :share slink)
|
||||||
|
|
||||||
(not (contains? (:flags slink) "view-all-pages"))
|
(and (some? slink)
|
||||||
|
(not (contains? (:flags slink) "view-all-pages")))
|
||||||
(update-in [:file :data] (fn [data]
|
(update-in [:file :data] (fn [data]
|
||||||
(let [allowed-pages (:pages slink)]
|
(let [allowed-pages (:pages slink)]
|
||||||
(-> data
|
(-> data
|
||||||
|
|
Loading…
Add table
Reference in a new issue