reformat w/ prettier
parent
00cac1bca1
commit
fe6d9a8972
|
@ -20,19 +20,19 @@ export default defineComponent({
|
|||
props: {
|
||||
address: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
required: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
mimeType(): string | undefined {
|
||||
return this.attributes.find(([_, e]) => e.attribute === "FILE_MIME")?.[1]
|
||||
.value.c;
|
||||
},
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
const { attributes, backlinks, error } = useEntity(props.address);
|
||||
return { attributes };
|
||||
},
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue