[ui] show any .stls as models
parent
7427ed2216
commit
e384bfbfaf
|
@ -19,7 +19,9 @@
|
||||||
$: image = mimeType.startsWith("image");
|
$: image = mimeType.startsWith("image");
|
||||||
$: text = mimeType.startsWith("text");
|
$: text = mimeType.startsWith("text");
|
||||||
$: pdf = mimeType.startsWith("application/pdf");
|
$: pdf = mimeType.startsWith("application/pdf");
|
||||||
$: model = mimeType?.startsWith("model");
|
$: model =
|
||||||
|
mimeType?.startsWith("model") ||
|
||||||
|
$entity?.identify().some((l) => l.endsWith(".stl"));
|
||||||
$: web = $entityInfo?.t == "Url";
|
$: web = $entityInfo?.t == "Url";
|
||||||
|
|
||||||
$: handled = audio || video || image || text || pdf || model || web;
|
$: handled = audio || video || image || text || pdf || model || web;
|
||||||
|
|
Loading…
Reference in New Issue