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/15589
This commit is contained in:
parent
089080c818
commit
d4cc17c1c0
1 changed files with 4 additions and 0 deletions
|
|
@ -4826,6 +4826,10 @@ func removeAttributeViewColumnOption(operation *Operation) (err error) {
|
|||
}
|
||||
|
||||
if nil != filter.Value && (av.KeyTypeSelect == filter.Value.Type || av.KeyTypeMSelect == filter.Value.Type) {
|
||||
if av.FilterOperatorIsEmpty == filter.Operator || av.FilterOperatorIsNotEmpty == filter.Operator {
|
||||
continue
|
||||
}
|
||||
|
||||
for i, opt := range filter.Value.MSelect {
|
||||
if optName == opt.Content {
|
||||
filter.Value.MSelect = append(filter.Value.MSelect[:i], filter.Value.MSelect[i+1:]...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue