[ui] fix pdf previews

feat/vaults
Tomáš Mládek 2022-02-06 13:52:24 +01:00
parent 52409a0195
commit 5d0935cc51
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
);
$: image = mimeType.startsWith("image");
$: text = mimeType.startsWith("text");
$: pdf = mimeType.startsWith("pdf");
$: pdf = mimeType.startsWith("application/pdf");
$: model = mimeType?.startsWith("model");
$: handled = audio || video || image || text || pdf || model;