fix message update bug

This commit is contained in:
Adhiraj Singh
2021-08-12 20:00:40 +05:30
parent 6d578399fc
commit 5ee5cd8c01

View File

@@ -51,7 +51,7 @@ const makeOrderedDictionary = function<T>(idGetter: (item: T) => string) {
if(item) {
Object.assign(item, update)
delete dict[id]
dict[id] = item
dict[idGetter(item)] = item
return true
}
return false