mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 01:56:11 +02:00
Merge pull request #5246 from penpot/luis-fix-updated-library-tab
🐛 Fix selected tab when updated library
This commit is contained in:
commit
b86f2ba90d
10 changed files with 1016 additions and 1 deletions
|
@ -1129,7 +1129,7 @@
|
|||
ignore-until (dm/get-in state [:workspace-file :ignore-sync-until])
|
||||
libraries-need-sync (filter #(seq (assets-need-sync % file-data ignore-until))
|
||||
(vals (get state :workspace-libraries)))
|
||||
do-more-info #(modal/show! :libraries-dialog {:starting-tab :updates})
|
||||
do-more-info #(modal/show! :libraries-dialog {:starting-tab "updates"})
|
||||
do-update #(do (apply st/emit! (map (fn [library]
|
||||
(sync-file (:current-file-id state)
|
||||
(:id library)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue