Attachment box: Use un-deprecated attachmentFilename property (#4638)

Fixes warning.
This commit is contained in:
Abe Jellinek 2024-08-27 12:53:48 -04:00 committed by Dan Stillman
parent d5bc1dc4b3
commit 4549cbf1ed

View file

@ -561,7 +561,7 @@
return "";
};
newFilename = newFilename.trim();
let oldFilename = item.getFilename();
let oldFilename = item.attachmentFilename;
if (oldFilename === newFilename) {
return;
}