1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Fix table changes with empty attachments

This commit is contained in:
Adria Navarro 2024-03-13 16:48:58 +01:00
parent 0420734d97
commit 940ff5acd2

View file

@ -43,7 +43,7 @@ export class AttachmentCleanup {
if ((columnRemoved && !renaming) || opts.deleting) {
rows.forEach(row => {
files = files.concat(
row[key].map((attachment: any) => attachment.key)
(row[key] || []).map((attachment: any) => attachment.key)
)
})
}