Fix table changes with empty attachments
This commit is contained in:
parent
0420734d97
commit
940ff5acd2
|
@ -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)
|
||||
)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue