This commit is contained in:
Liang Ding 2023-03-10 09:58:18 +08:00
parent 883898f053
commit f816d897c5
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 6 additions and 2 deletions

View file

@ -93,6 +93,10 @@ func SetBlockReminder(id string, timed string) (err error) {
}
func SetBlockAttrs(id string, nameValues map[string]string) (err error) {
if util.ReadOnly {
return
}
WaitForWritingFiles()
tree, err := loadTreeByBlockID(id)