diff --git a/firebase-firestore-mixin.html b/firebase-firestore-mixin.html index b4e9a19..ac0258c 100644 --- a/firebase-firestore-mixin.html +++ b/firebase-firestore-mixin.html @@ -191,9 +191,8 @@ this[name + 'Ref'] = ref; this[name + 'Ready'] = false; - const query = this.constructor.properties[name].query; - if (query) { - ref = query.call(this, ref, this); + if (config.query) { + ref = config.query.call(this, ref, this); } if (config.live) {