put with readonly uses put value

This commit is contained in:
Bel LaPointe
2022-02-17 12:15:21 -07:00
parent aa8ca4d967
commit a5fff37ba0
3 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ func (base Leaf) Merge(updated Leaf) Leaf {
base.Meta.Title = "Untitled"
}
base.Meta.Deleted = updated.Meta.Deleted
base.Meta.ReadOnly = updated.Meta.ReadOnly
base.Content = updated.Content
return base
}