Regression: Allow debugging of cached collections by name (#14862)

pull/14880/head
Guilherme Gazzo 6 years ago committed by GitHub
parent c17a04df26
commit da9dea86aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/ui-cached-collection/client/models/CachedCollection.js

@ -135,13 +135,12 @@ export class CachedCollection {
this.useSync = useSync;
this.useCache = useCache;
this.listenChangesForLoggedUsersOnly = listenChangesForLoggedUsersOnly;
this.debug = debug;
this.version = version;
this.userRelated = userRelated;
this.updatedAt = new Date(0);
this.maxCacheTime = maxCacheTime;
this.onSyncData = onSyncData;
this.log = debug ? log : nullLog;
this.log = debug(name) ? log : nullLog;
CachedCollectionManager.register(this);
if (userRelated === true) {

Loading…
Cancel
Save