mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
metadata-hook: fix on-load
This commit is contained in:
parent
b99ca963c0
commit
15e3b43be3
@ -39,7 +39,10 @@
|
|||||||
++ on-save !>(state)
|
++ on-save !>(state)
|
||||||
++ on-load
|
++ on-load
|
||||||
|= =vase
|
|= =vase
|
||||||
=+ !<(old=versioned-state vase)
|
=/ m-old=(unit versioned-state)
|
||||||
|
(mole |.(!<(versioned-state vase)))
|
||||||
|
?~ m-old `this
|
||||||
|
=* old u.m-old
|
||||||
|^
|
|^
|
||||||
?: ?=(%2 -.old)
|
?: ?=(%2 -.old)
|
||||||
`this
|
`this
|
||||||
|
Loading…
Reference in New Issue
Block a user