From 09f61b263179d633aa54391fa4d0cd9d4b37eec7 Mon Sep 17 00:00:00 2001 From: Wei Ouyang Date: Wed, 13 Nov 2024 08:25:19 -0800 Subject: [PATCH] Fix attachments display --- src/components/Attachments.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Attachments.vue b/src/components/Attachments.vue index b1be2207..ac49f37e 100644 --- a/src/components/Attachments.vue +++ b/src/components/Attachments.vue @@ -98,7 +98,7 @@ export default { }, normalizedAttachments: function() { const converted = {}; - if (this.attachments) + if (this.attachments && !Array.isArray(this.attachments)) for (let k of Object.keys(this.attachments)) { if (k === "files") continue; const items = this.attachments[k];