mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-11 18:20:33 +09:00
Integrate: fixes
This commit is contained in:
parent
4deeea4f9b
commit
99680e4f34
14 changed files with 79 additions and 80 deletions
|
@ -6,6 +6,7 @@ import (
|
|||
"github.com/anyproto/anytype-heart/pkg/lib/bundle"
|
||||
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
|
||||
"github.com/anyproto/anytype-heart/util/pbtypes"
|
||||
"github.com/anyproto/anytype-heart/util/slice"
|
||||
)
|
||||
|
||||
const relationKey = bundle.RelationKeyInternalFlags
|
||||
|
@ -18,7 +19,7 @@ func NewFromState(st *state.State) *Set {
|
|||
flags := st.Details().GetFloatListOrDefault(relationKey, nil)
|
||||
|
||||
return &Set{
|
||||
flags: flags,
|
||||
flags: slice.FloatsInto[int](flags),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue