mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15581
This commit is contained in:
parent
4ec53db203
commit
05f48e93d1
1 changed files with 1 additions and 0 deletions
|
@ -2433,6 +2433,7 @@ func (tx *Transaction) doDuplicateAttrViewView(operation *Operation) (ret *TxErr
|
|||
}
|
||||
|
||||
if nil != masterView.Group {
|
||||
view.Group = &av.ViewGroup{}
|
||||
if copyErr := copier.Copy(view.Group, masterView.Group); nil != copyErr {
|
||||
logging.LogErrorf("copy group failed: %s", copyErr)
|
||||
return &TxErr{code: TxErrHandleAttributeView, id: avID, msg: copyErr.Error()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue