mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 15:31:41 +02:00
🐛 Fix incorrect version handling on file migration
This commit is contained in:
parent
409eea6c5c
commit
cfe6fae77d
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
|||
[{:keys [version] :as file}]
|
||||
(if (int? version)
|
||||
file
|
||||
(let [version (or version (-> file :data :version))]
|
||||
(let [version (or (-> file :data :version) 0)]
|
||||
(-> file
|
||||
(assoc :version version)
|
||||
(update :data dissoc :version)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue