mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
🐛 Improve av https://github.com/siyuan-note/siyuan/issues/15471
This commit is contained in:
parent
72373ccff9
commit
eb524b2e72
1 changed files with 4 additions and 2 deletions
|
|
@ -4993,11 +4993,13 @@ func updateAttributeViewColumnOptions(operation *Operation) (err error) {
|
||||||
for _, keyValues := range attrView.KeyValues {
|
for _, keyValues := range attrView.KeyValues {
|
||||||
if keyValues.Key.ID == operation.ID {
|
if keyValues.Key.ID == operation.ID {
|
||||||
keyValues.Key.Options = options
|
keyValues.Key.Options = options
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
regenAttrViewViewGroups(attrView, operation.ID)
|
||||||
err = av.SaveAttributeView(attrView)
|
err = av.SaveAttributeView(attrView)
|
||||||
return
|
return
|
||||||
}
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tx *Transaction) doRemoveAttrViewColOption(operation *Operation) (ret *TxErr) {
|
func (tx *Transaction) doRemoveAttrViewColOption(operation *Operation) (ret *TxErr) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue