Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ export class CachedCollection<T extends object, U = T> extends Emitter<{ changed
const action = 'changed';
const newRecord = this.handleSync(record, action);

if (!hasId(newRecord) || !hasUpdatedAt(newRecord)) {
if (!hasId(newRecord)) {
continue;
}

const actionTime = newRecord._updatedAt;
const actionTime = hasUpdatedAt(newRecord) ? newRecord._updatedAt : startTime;
changes.push({
action: () => {
const { _id } = newRecord;
Expand Down