mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 14:58:49 +01:00
🎨 Improve av
This commit is contained in:
parent
3182f7abb8
commit
b332574217
2 changed files with 15 additions and 49 deletions
|
|
@ -355,7 +355,7 @@ func (value *Value) IsEmpty() bool {
|
|||
if nil == value.Template {
|
||||
return true
|
||||
}
|
||||
return "" == value.Template.Content
|
||||
return "" == strings.TrimSpace(value.Template.Content)
|
||||
case KeyTypeCreated:
|
||||
if nil == value.Created {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue