From c95588b12f9472192b5dbf82d77b30589bc6d7f0 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Thu, 25 Jun 2026 11:09:35 +0200 Subject: [PATCH] Use resolved accumulator store key for preview actions --- web/accumulator_preview.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) {