type fix
parent
db607f3425
commit
e7d206beb2
|
@ -4,9 +4,8 @@
|
||||||
|
|
||||||
$: ({ attributes } = useEntity(address));
|
$: ({ attributes } = useEntity(address));
|
||||||
|
|
||||||
let mimeType: string | undefined;
|
$: mimeType = String($attributes.find(([_, e]) => e.attribute === "FILE_MIME")?.[1]
|
||||||
$: mimeType = $attributes.find(([_, e]) => e.attribute === "FILE_MIME")?.[1]
|
.value.c);
|
||||||
.value.c;
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="preview" v-if="mimeType">
|
<div class="preview" v-if="mimeType">
|
||||||
|
|
Loading…
Reference in New Issue