storyblok 4.23.3 → 4.23.4
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.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -4219,7 +4219,7 @@ const prefetchTargetStoriesByKeys = async (spaceId, keys, options) => {
|
|
|
4219
4219
|
byId: /* @__PURE__ */ new Map()
|
|
4220
4220
|
};
|
|
4221
4221
|
const slugSet = /* @__PURE__ */ new Set();
|
|
4222
|
-
for (const slug of keys.slugs) if (slug) slugSet.add(
|
|
4222
|
+
for (const slug of keys.slugs) if (slug) slugSet.add(slug);
|
|
4223
4223
|
const idSet = /* @__PURE__ */ new Set();
|
|
4224
4224
|
for (const id of keys.ids) if (typeof id === "number" && Number.isFinite(id)) idSet.add(id);
|
|
4225
4225
|
options?.onTotal?.(slugSet.size + idSet.size);
|