diff --git a/web/accumulator_preview.js b/web/accumulator_preview.js index 223e5b1..aa170ff 100644 --- a/web/accumulator_preview.js +++ b/web/accumulator_preview.js @@ -56,6 +56,8 @@ function nodeSummaries() { .map((node) => ({ id: node.id, store_key: storeKey(node), + widget_store_key: widgetStoreKey(node), + resolved_store_key: node._sxapResolvedStoreKey || "", entries: (node._sxapEntries || []).map((entry, index) => ({ index: entry.index, id: entry.id, @@ -122,7 +124,11 @@ function outputImages(output) { } function storeKey(node) { - return String(widget(node, "store_key")?.value || node._sxapResolvedStoreKey || "").trim(); + return String(node._sxapResolvedStoreKey || widget(node, "store_key")?.value || "").trim(); +} + +function widgetStoreKey(node) { + return String(widget(node, "store_key")?.value || "").trim(); } function previewLimit(node) {