mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15593
This commit is contained in:
parent
35de72f64d
commit
4598e3237b
2 changed files with 22 additions and 3 deletions
|
|
@ -148,6 +148,13 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group
|
|||
newValue = getNewValueByNearItem(nearItem, keyValues.Key, addingItemID)
|
||||
}
|
||||
if nil != newValue {
|
||||
if av.KeyTypeDate == keyValues.Key.Type {
|
||||
if nil != nearItem {
|
||||
nearValue := getNewValueByNearItem(nearItem, keyValues.Key, addingItemID)
|
||||
newValue.Date.IsNotTime = nearValue.Date.IsNotTime
|
||||
}
|
||||
}
|
||||
|
||||
ret[keyValues.Key.ID] = newValue
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue