[ui] fix pdf previews
parent
52409a0195
commit
5d0935cc51
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue