Attachment size, changed calculation to npm filesize (Attachment Move)

This commit is contained in:
Martin Filser 2022-04-29 11:56:50 +02:00
parent 3aba91885f
commit 464bc2f87b
2 changed files with 7 additions and 2 deletions

View file

@ -52,7 +52,7 @@ template(name="moveBoardAttachments")
th {{_ 'name'}}
th {{_ 'path'}}
th {{_ 'version-name'}}
th {{_ 'size'}} (B)
th {{_ 'size'}}
th GridFsFileId
th {{_ 'storage'}}
th {{_ 'action'}}
@ -68,7 +68,7 @@ template(name="moveAttachment")
td {{ name }}
td {{ version.path }}
td {{ version.versionName }}
td {{ version.size }}
td {{ fileSize version.size }}
td {{ version.meta.gridFsFileId }}
td {{ version.storageName }}
td