mirror of
https://github.com/penpot/penpot.git
synced 2026-05-15 21:13:58 +00:00
🐛 Fix library update button freezes and does not apply updates (#9513)
Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
fb2734cd02
commit
5dafd44966
@ -58,6 +58,7 @@
|
||||
- Add new numeric inputs for token management on the right sidebar [Taiga #12109](https://tree.taiga.io/project/penpot/us/12109?milestone=513226)
|
||||
- Restore deleted team files in bulk instead of per file (by @Dexterity104) [Github #9248](https://github.com/penpot/penpot/pull/9248)
|
||||
- Preserve Inkscape labels when pasting SVGs (by @jeffrey701) [Github #9252](https://github.com/penpot/penpot/pull/9252)
|
||||
- Fix library update button freezes and does not apply updates [Taiga #14030](https://tree.taiga.io/project/penpot/issue/14030)
|
||||
|
||||
### :bug: Bugs fixed
|
||||
|
||||
|
||||
@ -510,12 +510,13 @@
|
||||
(mf/deps file-id)
|
||||
(fn [event]
|
||||
(when-not updating?
|
||||
(let [library-id (some-> (dom/get-target event)
|
||||
(let [library-id (some-> (dom/get-current-target event)
|
||||
(dom/get-data "library-id")
|
||||
(uuid/parse))]
|
||||
(st/emit!
|
||||
(dwl/set-updating-library true)
|
||||
(dwl/sync-file file-id library-id))))))]
|
||||
(when library-id
|
||||
(st/emit!
|
||||
(dwl/set-updating-library true)
|
||||
(dwl/sync-file file-id library-id)))))))]
|
||||
|
||||
[:div {:class (stl/css :updates-content)}
|
||||
[:div {:class (stl/css :update-section)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user