From f074243ddafc5e77c344e6624bfa2e911e2a41db Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Wed, 21 Jan 2026 12:08:50 +0900 Subject: [PATCH] [backport cloud/1.37] feat: When a list of strings is received, show all of them. (#8196) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #8195 to `cloud/1.37` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8196-backport-cloud-1-37-feat-When-a-list-of-strings-is-received-show-all-of-them-2ef6d73d36508194a355d34222758435) by [Unito](https://www.unito.io) Co-authored-by: Alexander Brown --- src/extensions/core/previewAny.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/extensions/core/previewAny.ts b/src/extensions/core/previewAny.ts index d9d093702..d06ba1584 100644 --- a/src/extensions/core/previewAny.ts +++ b/src/extensions/core/previewAny.ts @@ -75,7 +75,9 @@ useExtensionService().registerExtension({ for (const previewWidget of previewWidgets) { const text = message.text ?? '' - previewWidget.value = Array.isArray(text) ? (text[0] ?? '') : text + previewWidget.value = Array.isArray(text) + ? (text?.join('\n\n') ?? '') + : text } } }