Compare commits

...

1 Commits

Author SHA1 Message Date
Pablo Alba
3fde666c96 🐛 Fix viewer can update library 2026-01-28 13:49:01 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -31,6 +31,7 @@
- Fix unhandled exception on open-new-window helper [Github #7787](https://github.com/penpot/penpot/issues/7787)
- Fix exception on uploading large fonts [Github #8135](https://github.com/penpot/penpot/pull/8135)
- Fix boolean operators in menu for boards [Taiga #13174](https://tree.taiga.io/project/penpot/issue/13174)
- Fix viewer can update library [Taiga #13186](https://tree.taiga.io/project/penpot/issue/13186)
## 2.13.0 (Unreleased)

View File

@@ -1205,6 +1205,7 @@
file (dsh/lookup-file state file-id)
file-data (get file :data)
ignore-until (get file :ignore-sync-until)
permissions (:permissions state)
libraries-need-sync
(->> (vals (get state :files))
@@ -1224,7 +1225,8 @@
do-dismiss
#(st/emit! ignore-sync (ntf/hide))]
(when (seq libraries-need-sync)
(when (and (:can-edit permissions)
(seq libraries-need-sync))
(rx/of (ntf/dialog
:content (tr "workspace.updates.there-are-updates")
:controls :inline-actions