🎨 Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888

This commit is contained in:
Daniel 2023-12-24 12:53:47 +08:00
parent 507fe1637f
commit 1b20863f9c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -263,6 +263,9 @@ func SaveAttributeView(av *AttributeView) (err error) {
}
}
}
if "" == av.Name {
av.Name = "Untitled"
}
data, err := gulu.JSON.MarshalIndentJSON(av, "", "\t") // TODO: single-line for production
if nil != err {