mirror of
https://github.com/penpot/penpot.git
synced 2025-05-13 16:06:37 +02:00
🐛 Make the media cleaning on file-gc task aware of snapshots
It now takes in account the snapshots, and prevents deletion of media files used in snapshots.
This commit is contained in:
parent
71ba0242c7
commit
50df2279a7
7 changed files with 53 additions and 31 deletions
|
@ -506,6 +506,6 @@
|
|||
(rx/mapcat rp/handle-response)
|
||||
(rx/subs! (fn [_]
|
||||
(println "Snapshot restored " (or snapshot-id label)))
|
||||
#_(.reload js/location))
|
||||
(fn [cause]
|
||||
(js/console.log "EE:" cause))))))
|
||||
#_(.reload js/location)
|
||||
(fn [cause]
|
||||
(js/console.log "EE:" cause)))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue