Apply hack to display images
This commit is contained in:
@ -69,7 +69,11 @@ export default function (props: ReportCardProps & { port?: MessagePort }) {
|
||||
<div style={{ position: "relative" }}>
|
||||
<video controls={true} width="100%">
|
||||
<source src={`/api/uploads/${props.attachments[attachmentIdx]}`} />
|
||||
<source src="/files/processing.webm" />
|
||||
<img
|
||||
alt="User submission evidence"
|
||||
src={`/api/uploads/${props.attachments[attachmentIdx]}`}
|
||||
width="100%"
|
||||
/>
|
||||
</video>
|
||||
<HStack
|
||||
pos="absolute"
|
||||
|
Reference in New Issue
Block a user