1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-11 18:20:33 +09:00

[feat-GO-212-changes-for-kanban] fix delIds

This commit is contained in:
Pavel Zavyalov 2022-09-27 21:29:13 +06:00
parent cea0d2c280
commit b25784032b
No known key found for this signature in database
GPG key ID: D12476F8A1107A26

View file

@ -84,7 +84,7 @@ func Diff(origin, changed []string) []Change {
}
if len(delMap) > 0 { // remove
delIds := make([]string, len(delMap))
delIds := make([]string, 0, len(delMap))
for id := range delMap {
delIds = append(delIds, id)
}