🎨 Improve update database cell option https://github.com/siyuan-note/siyuan/issues/13439
This commit is contained in:
parent
0bcf1372f4
commit
2f39c2f1bc
1 changed files with 1 additions and 1 deletions
|
@ -3115,7 +3115,7 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID string, valueDa
|
|||
// 不存在的选项新建保存
|
||||
color := valOpt.Color
|
||||
if "" == color {
|
||||
color = fmt.Sprintf("%d", 1+rand.Intn(15))
|
||||
color = fmt.Sprintf("%d", 1+rand.Intn(14))
|
||||
}
|
||||
opt = &av.SelectOption{Name: valOpt.Content, Color: color}
|
||||
key.Options = append(key.Options, opt)
|
||||
|
|
Loading…
Add table
Reference in a new issue