aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/resource/file.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source/resource/file.ts')
-rw-r--r--client-web/source/resource/file.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client-web/source/resource/file.ts b/client-web/source/resource/file.ts
index 0554e2f..7b63d84 100644
--- a/client-web/source/resource/file.ts
+++ b/client-web/source/resource/file.ts
@@ -26,6 +26,7 @@ export const resource_file: ResourceHandlerDecl = {
}, PO.download)
return {
info,
+ on_preview(_) { },
el: e("div", {},
e("span", {}, `${PO.file}: ${JSON.stringify(info.label)} (${display_filesize(info.size!)})`),
download_button,