@arbidocs/react 0.5.143 → 0.5.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/offline.js +2 -1
- package/dist/offline.js.map +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3744,7 +3744,8 @@ function isOfflineReadableArbiQuery(queryKey) {
|
|
|
3744
3744
|
}
|
|
3745
3745
|
function isRestorableArbiQueryOnline(queryKey, data) {
|
|
3746
3746
|
if (queryKey[0] !== "arbi") return true;
|
|
3747
|
-
if (queryKey[1] === "documents" || queryKey[1] === "entitlements"
|
|
3747
|
+
if (queryKey[1] === "documents" || queryKey[1] === "entitlements" || queryKey[1] === "userSettings")
|
|
3748
|
+
return false;
|
|
3748
3749
|
if (!DOCUMENT_FAMILIES.includes(queryKey[1])) return true;
|
|
3749
3750
|
const docs = Array.isArray(data) ? data : [data];
|
|
3750
3751
|
return !docs.some((doc) => {
|