Commit 5ff5170
authored
fix: Prevent TypeError crash on undefined attachment info
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>1 parent b25a50b commit 5ff5170
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments