Skip to content

Commit

Permalink
Fix attachments display
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Nov 13, 2024
1 parent 7d8a8b3 commit 09f61b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Attachments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 09f61b2

Please sign in to comment.