This commit is contained in:
Daniel 2025-08-21 15:27:10 +08:00
parent e1fca0674d
commit 2899e3851d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 28 additions and 1 deletions

View file

@ -978,6 +978,8 @@ func GetAttributeViewDefaultValue(valueID, keyID, blockID string, typ KeyType) (
}
switch typ {
case KeyTypeBlock:
ret.Block = &ValueBlock{Created: ret.CreatedAt, Updated: ret.UpdatedAt}
case KeyTypeText:
ret.Text = &ValueText{}
case KeyTypeNumber: