mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 06:56:10 +02:00
🐛 Fix unpublish more than one library at the same time
This commit is contained in:
parent
e461745479
commit
a737c125d5
2 changed files with 23 additions and 18 deletions
|
@ -24,6 +24,7 @@
|
|||
|
||||
- Fix files can be opened from multiple urls [Taiga #5310](https://tree.taiga.io/project/penpot/issue/5310)
|
||||
- Fix asset color item was created from the selected layer [Taiga #5180](https://tree.taiga.io/project/penpot/issue/5180)
|
||||
- Fix unpublish more than one library at the same time [Taiga #5532](https://tree.taiga.io/project/penpot/issue/5532)
|
||||
|
||||
### :arrow_up: Deps updates
|
||||
|
||||
|
|
|
@ -142,7 +142,11 @@
|
|||
#(st/emit! (dd/set-file-shared (assoc file :is-shared true)))
|
||||
|
||||
del-shared
|
||||
#(st/emit! (dd/set-file-shared (assoc file :is-shared false)))
|
||||
(mf/use-fn
|
||||
(mf/deps files)
|
||||
(fn [_]
|
||||
(run! #(st/emit! (dd/set-file-shared (assoc % :is-shared false))) files)))
|
||||
|
||||
|
||||
on-add-shared
|
||||
(fn [event]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue