apollo-magic-refetch
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -20,4 +20,3 @@ "use strict"; | ||
if (type === targetType) { | ||
if (!ids) return true; | ||
return data && ids.has(data[idField]); | ||
if (!ids || data && ids.has(data[idField])) return true; | ||
} | ||
@@ -24,0 +23,0 @@ |
@@ -19,4 +19,3 @@ "use strict"; | ||
if (type === targetType) { | ||
if (!ids) return true; | ||
return data && ids.has(data[idField]); | ||
if (!ids || data && ids.has(data[idField])) return true; | ||
} | ||
@@ -23,0 +22,0 @@ |
{ | ||
"name": "apollo-magic-refetch", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "magically refetches relevant queries after creates and deletes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
348142
792