Open Ross-Rawlins opened 7 years ago
When I try to do an online query it works fine but when the page refreshes and tries the same call again this error comes up and fails. I am having to do a query with a dynamic child value.
`this.filterSubject = new Subject(); this.eventsObservable = this.afoDatabase.list('/events', { query: { orderByChild: this.filterSubject || 'all', equalTo:1 }}); this.filterSubject.next('all') this.eventsObservable.subscribe((events: [EventDetails]) => { this.events = events; })`
Is there a better way for me to run this query to stop this issue coming up.
This has been up for some time and want to check if there is a way t resolve this.
When I try to do an online query it works fine but when the page refreshes and tries the same call again this error comes up and fails. I am having to do a query with a dynamic child value.
Is there a better way for me to run this query to stop this issue coming up.