mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Cleanup
This commit is contained in:
@@ -78,8 +78,7 @@ class OrbitList extends List {
|
||||
const _createLWWSet = (f) => {
|
||||
const wasHandled = Lazy(handled).indexOf(f.payload.key) > -1;
|
||||
if(!wasHandled) handled.push(f.payload.key);
|
||||
if(Operations.isUpdate(f.payload.op) && !wasHandled)
|
||||
return f;
|
||||
if(Operations.isUpdate(f.payload.op) && !wasHandled) return f;
|
||||
return null;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user