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:
parent
cea0d2c280
commit
b25784032b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue