mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-15 19:48:06 +01:00
🎨 Automatically fill in the filter result value when adding rows in the database table view https://github.com/siyuan-note/siyuan/issues/9905
This commit is contained in:
parent
e10d403cce
commit
fcd134ad2d
3 changed files with 33 additions and 16 deletions
|
|
@ -54,6 +54,10 @@ type Value struct {
|
|||
Rollup *ValueRollup `json:"rollup,omitempty"`
|
||||
}
|
||||
|
||||
func (value *Value) NotAffectFilter() bool {
|
||||
return !value.IsInitialized && nil != value.Block && "" == value.Block.Content && value.IsDetached
|
||||
}
|
||||
|
||||
func (value *Value) String() string {
|
||||
switch value.Type {
|
||||
case KeyTypeBlock:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue