mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
GO-3849 Fix lint and comment
This commit is contained in:
parent
2538dee789
commit
c45333f059
2 changed files with 3 additions and 2 deletions
|
@ -1385,7 +1385,8 @@ func (s *State) IsEmpty(checkTitle bool) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// isEmptyDataview is a separate emptiness check for sets and collections, as
|
||||
// isEmptyDataview is a separate emptiness check for sets and collections,
|
||||
// as changes on object are done upon dataview block, not text one
|
||||
func (s *State) isEmptyDataview() bool {
|
||||
details := s.Details()
|
||||
|
||||
|
|
|
@ -545,6 +545,6 @@ func (d *Dataview) HasEmptyContent() bool {
|
|||
view.Type != model.BlockContentDataviewView_Table {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue