mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
image notes can't be updated + minor visual tweaks
This commit is contained in:
@@ -21,8 +21,8 @@ async function show() {
|
||||
|
||||
$component.show();
|
||||
|
||||
$fileName.text(attributeMap.originalFileName);
|
||||
$fileSize.text(attributeMap.fileSize + " bytes");
|
||||
$fileName.text(attributeMap.originalFileName || "?");
|
||||
$fileSize.text((attributeMap.fileSize || "?") + " bytes");
|
||||
$fileType.text(currentNote.mime);
|
||||
|
||||
$imageView.prop("src", `/api/images/${currentNote.noteId}/${currentNote.title}`);
|
||||
|
||||
Reference in New Issue
Block a user