Update index.html

Ryan Danenberg committed commiteaba1acc5ebb993235f45a711743f3747228448d Browse files
1 file changed+4−1
index.html+4−1View file
@@ -2106,7 +2106,10 @@
activeAttachedInvoice = {
name: existingTs.invoiceFileName,
data: existingTs.invoiceFileData,
- size: "Attached"
+ size: existingTs.invoiceFileSize ? (Math.round(existingTs.invoiceFileSize / 1024) + " KB") : "Attached",
+ sizeBytes: existingTs.invoiceFileSize || 0,
+ type: existingTs.invoiceContentType || "application/pdf",
+ fileUrl: existingTs.invoiceFileUrl || ""
};
} else {
activeAttachedInvoice = null;