1
0
Fork 0
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:
kirillston 2024-08-06 20:19:23 +03:00
parent 2538dee789
commit c45333f059
No known key found for this signature in database
GPG key ID: 88218A7F1109754B
2 changed files with 3 additions and 2 deletions

View file

@ -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()

View file

@ -545,6 +545,6 @@ func (d *Dataview) HasEmptyContent() bool {
view.Type != model.BlockContentDataviewView_Table {
return false
}
return true
}