Skip to content

[stable34] Deck cards attachment fix: Prevent TypeError crash on undefined attachment info - #8716

Open
backportbot[bot] wants to merge 1 commit into
stable34from
backport/8224/stable34
Open

backportbot[bot] wants to merge 1 commit into
stable34from
backport/8224/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 9, 2026

Copy link
Copy Markdown

Backport of PR #8224

Adds optional chaining to info.filename in AttachmentList.vue. This prevents a complete UI crash (TypeError: Cannot read properties of undefined (reading 'filename')) when rendering a card that has an attachment with missing or undefined info data.
the attachment list was not getting populated on some cards

Signed-off-by: aquananu <93096176+aquananu@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants