mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
exposing blobs in APIs
This commit is contained in:
@@ -116,10 +116,10 @@ export default class ImagePropertiesWidget extends NoteContextAwareWidget {
|
||||
|
||||
this.$widget.show();
|
||||
|
||||
const noteComplement = await this.noteContext.getNoteComplement();
|
||||
const blob = await this.note.getBlob();
|
||||
|
||||
this.$fileName.text(attributeMap.originalFileName || "?");
|
||||
this.$fileSize.text(`${noteComplement.contentLength} bytes`);
|
||||
this.$fileSize.text(`${blob.contentLength} bytes`);
|
||||
this.$fileType.text(note.mime);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user