mirror of
https://github.com/penpot/penpot.git
synced 2025-04-09 13:31:23 -05: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
Reference in a new issue