mirror of
https://github.com/penpot/penpot.git
synced 2026-05-10 18:48:23 +00:00
🐛 Fix viewer can update library (#8231)
This commit is contained in:
parent
2b4e315744
commit
0bb74ed722
@ -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)
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user