From 54b342b93af38217982d27cc78ba28490434b682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Paraniak?= Date: Wed, 20 Nov 2024 12:13:51 +0800 Subject: [PATCH] activity: insert missing volume defaults in +load --- desk/app/activity.hoon | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/desk/app/activity.hoon b/desk/app/activity.hoon index ca29a5d9e4..b9aa83977b 100644 --- a/desk/app/activity.hoon +++ b/desk/app/activity.hoon @@ -144,13 +144,13 @@ =? old ?=(%7 -.old) [%8 +.old] ?> ?=(%8 -.old) =. state old - :: :: insert missing volume defaults to %base - :: :: - :: =/ base-volume - :: (~(gut by volume-settings.state) [%base ~] *volume-map:a) - :: =. volume-settings.state - :: %+ ~(put by volume-settings.state) [%base ~] - :: (~(uni by base-volume) *volume-map:a) + :: insert missing volume defaults to %base + :: + =/ base-volume + (~(gut by volume-settings.state) [%base ~] *volume-map:a) + =. volume-settings.state + %+ ~(put by volume-settings.state) [%base ~] + (~(uni by base-volume) *volume-map:a) =. allowed %all (emit %pass /fix-init-unreads %agent [our.bowl dap.bowl] %poke noun+!>(%fix-init-unreads)) +$ versioned-state