Skip to content

Commit

Permalink
Updates based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewillard committed Feb 7, 2017
1 parent 2b33447 commit 8fdd839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/QueryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ export class QueryManager {

// If this is not a force fetch, we want to diff the query against the
// store before we fetch it from the network interface.
if (fetchType !== FetchType.refetch || !forceFetch) {
if (fetchType !== FetchType.refetch && !forceFetch) {
const { isMissing, result } = diffQueryAgainstStore({
query: queryDoc,
store: this.reduxRootSelector(this.store.getState()).data,
Expand Down

0 comments on commit 8fdd839

Please sign in to comment.