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