Skip to content

Commit

Permalink
Regression: Client is not loading new settings from server
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lehnen-rc committed Mar 2, 2023
1 parent 11c7a57 commit f61c45a
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit f61c45a

Please sign in to comment.