Skip to content

Commit

Permalink
fixes to recent queries
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Jun 13, 2022
1 parent 2618f65 commit f22d728
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ const configureStore = (options = {}) => {
},

runQuery(query) {
if (this.state.items.map(item => item.serialize()).some(item => {
return _.isEqual(comparableQuery(item), query);
if (this.state.items.map(item => comparableQuery(item)).some(item => {
return _.isEqual(item, query);
})) {
track('Query History Recent Used');
}
Expand Down

0 comments on commit f22d728

Please sign in to comment.