if (file.link !== undefined && file.filename !== undefined) {
const link = document.createElement("a");
link.href = file.link!;
- link.dataset.fancybox = "attachments";
+ link.dataset.fancybox = "uploadedAttachments";
link.title = file.filename;
link.dataset.caption = file.filename;
link.textContent = file.filename;
if (file.link !== undefined && file.filename !== undefined) {
const link = document.createElement("a");
link.href = file.link;
- link.dataset.fancybox = "attachments";
+ link.dataset.fancybox = "uploadedAttachments";
link.title = file.filename;
link.dataset.caption = file.filename;
link.textContent = file.filename;