@json-layout/core 2.1.0 → 2.1.1
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/package.json +1 -1
- package/src/state/state-node.js +1 -1
package/package.json
CHANGED
package/src/state/state-node.js
CHANGED
|
@@ -881,7 +881,7 @@ export function createStateNode (
|
|
|
881
881
|
}
|
|
882
882
|
|
|
883
883
|
const autofocus = isFocusableLayout(layout, compiledLayout.components) && !options.readOnly && !options.summary && context.autofocusTarget === fullKey
|
|
884
|
-
const shouldLoadData = layout.comp === 'list' && itemsCacheKey && reusedNode?.itemsCacheKey !== itemsCacheKey
|
|
884
|
+
const shouldLoadData = layout.comp === 'list' && !layout.indexed && itemsCacheKey && reusedNode?.itemsCacheKey !== itemsCacheKey
|
|
885
885
|
if (shouldLoadData) {
|
|
886
886
|
logGetItems(fullKey, 'list component with getItems expression registered for fetch', itemsCacheKey)
|
|
887
887
|
} else if (layout.comp === 'list' && itemsCacheKey) {
|