wip
This commit is contained in:
parent
0cb7289eb8
commit
7c065584a1
|
@ -555,7 +555,10 @@ function getMenu() {
|
|||
text: i18n.ts.upload,
|
||||
icon: 'ti ti-upload',
|
||||
action: () => {
|
||||
chooseFileFromPcAndUpload(true, { uploadFolder: folder.value?.id, keepOriginal: true });
|
||||
chooseFileFromPcAndUpload({
|
||||
multiple: true,
|
||||
folderId: folder.value?.id,
|
||||
});
|
||||
},
|
||||
}, {
|
||||
text: i18n.ts.fromUrl,
|
||||
|
|
|
@ -32,6 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<div :class="$style.itemBody">
|
||||
<div>{{ ctx.name }}</div>
|
||||
<div :class="$style.itemInfo">
|
||||
<span>{{ ctx.file.type }}</span>
|
||||
<span>{{ bytes(ctx.file.size) }}</span>
|
||||
<span v-if="ctx.compressedSize">({{ i18n.tsx._uploader.compressedToX({ x: bytes(ctx.compressedSize) }) }} = {{ i18n.tsx._uploader.savedXPercent({ x: Math.round((1 - ctx.compressedSize / ctx.file.size) * 100) }) }})</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue